pythonPackages.django_1_11: init at 1.11
This it the LTS release and will receive security updates for 3 years. See https://docs.djangoproject.com/en/1.11/releases/1.11/
This commit is contained in:
parent
72966154b3
commit
e1a82bd39e
37
pkgs/development/python-modules/django/1_11.nix
Normal file
37
pkgs/development/python-modules/django/1_11.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, substituteAll,
|
||||
pythonOlder,
|
||||
geos, gdal, pytz
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "Django-${version}";
|
||||
version = "1.11";
|
||||
disabled = pythonOlder "2.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.djangoproject.com/m/releases/1.11/${name}.tar.gz";
|
||||
sha256 = "0c1c2n05wv1br651hfbvnxw8ymcn4q8m56893pyv8xj2jijbiwxn";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./1.10-gis-libs.template.patch;
|
||||
geos = geos;
|
||||
gdal = gdal;
|
||||
})
|
||||
];
|
||||
|
||||
# patch only $out/bin to avoid problems with starter templates (see #3134)
|
||||
postFixup = ''
|
||||
wrapPythonProgramsIn $out/bin "$out $pythonPath"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ pytz ];
|
||||
|
||||
# too complicated to setup
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A high-level Python Web framework";
|
||||
homepage = https://www.djangoproject.com/;
|
||||
};
|
||||
}
|
@ -10368,7 +10368,11 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
django = self.django_1_10;
|
||||
django = self.django_1_11;
|
||||
|
||||
django_1_11 = callPackage ../development/python-modules/django/1_11.nix {
|
||||
gdal = self.gdal;
|
||||
};
|
||||
|
||||
django_1_10 = callPackage ../development/python-modules/django/1_10.nix {
|
||||
gdal = self.gdal;
|
||||
|
Loading…
Reference in New Issue
Block a user