@@ -1,34 +0,0 @@
1−{ stdenv, buildPythonPackage, fetchurl, substituteAll,
2− geos, gdal, pytz,
3− withGdal ? false
4−}:
5−
6−buildPythonPackage rec {
7− pname = "Django";
8− version = "1.11.28";
9−
10− src = fetchurl {
11− url = "https://www.djangoproject.com/m/releases/1.11/${pname}-${version}.tar.gz";
12− sha256 = "1ss1jyip7mlbfjn27m0j6wx80s8h4ksg6g5annkgwigp8xgy6g5k";
13− };
14−
15− patches = stdenv.lib.optionals withGdal [
16− (substituteAll {
17− src = ./1.10-gis-libs.template.patch;
18− geos = geos;
19− gdal = gdal;
20− extension = stdenv.hostPlatform.extensions.sharedLibrary;
21− })
22− ];
23−
24− propagatedBuildInputs = [ pytz ];
25−
26− # too complicated to setup
27− doCheck = false;
28−
29− meta = with stdenv.lib; {
30− description = "A high-level Python Web framework";
31− homepage = "https://www.djangoproject.com/";
32− license = licenses.bsd3;
33− };
34−}