pythonPackages.django: 1.10.5 -> 1.10.6
This is a bugfix release.
This commit is contained in:
parent
c7e7feb27b
commit
d284e37a59
35
pkgs/development/python-modules/django/1_10.nix
Normal file
35
pkgs/development/python-modules/django/1_10.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, substituteAll,
|
||||
pythonOlder,
|
||||
geos, gdal
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "Django-${version}";
|
||||
version = "1.10.6";
|
||||
disabled = pythonOlder "2.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.djangoproject.com/m/releases/1.10/${name}.tar.gz";
|
||||
sha256 = "0q9c7hx720vc0jzq4xlxwhnxmmm8kh0qsqj3l46m29mi98jvwvks";
|
||||
};
|
||||
|
||||
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"
|
||||
'';
|
||||
|
||||
# too complicated to setup
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A high-level Python Web framework";
|
||||
homepage = https://www.djangoproject.com/;
|
||||
};
|
||||
}
|
@ -10315,36 +10315,8 @@ in {
|
||||
|
||||
django = self.django_1_10;
|
||||
|
||||
django_1_10 = buildPythonPackage rec {
|
||||
name = "Django-${version}";
|
||||
version = "1.10.5";
|
||||
disabled = pythonOlder "2.7";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://www.djangoproject.com/m/releases/1.10/${name}.tar.gz";
|
||||
sha256 = "12szjsmnfhh2yr54sfynyjr8vl0q9gb6qak3ayqcifcinrs97f0d";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(pkgs.substituteAll {
|
||||
src = ../development/python-modules/django/1.10-gis-libs.template.patch;
|
||||
geos = pkgs.geos;
|
||||
gdal = self.gdal;
|
||||
})
|
||||
];
|
||||
|
||||
# patch only $out/bin to avoid problems with starter templates (see #3134)
|
||||
postFixup = ''
|
||||
wrapPythonProgramsIn $out/bin "$out $pythonPath"
|
||||
'';
|
||||
|
||||
# too complicated to setup
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A high-level Python Web framework";
|
||||
homepage = https://www.djangoproject.com/;
|
||||
};
|
||||
django_1_10 = callPackage ../development/python-modules/django/1_10.nix {
|
||||
gdal = self.gdal;
|
||||
};
|
||||
|
||||
django_1_9 = buildPythonPackage rec {
|
||||
|
Loading…
Reference in New Issue
Block a user