pythonPackages.django_1_11: no longer supported
This commit is contained in:
parent
bf9cc225e9
commit
54568a1bea
@ -1,34 +0,0 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchurl, substituteAll,
|
|
||||||
geos, gdal, pytz,
|
|
||||||
withGdal ? false
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "Django";
|
|
||||||
version = "1.11.28";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://www.djangoproject.com/m/releases/1.11/${pname}-${version}.tar.gz";
|
|
||||||
sha256 = "1ss1jyip7mlbfjn27m0j6wx80s8h4ksg6g5annkgwigp8xgy6g5k";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = stdenv.lib.optionals withGdal [
|
|
||||||
(substituteAll {
|
|
||||||
src = ./1.10-gis-libs.template.patch;
|
|
||||||
geos = geos;
|
|
||||||
gdal = gdal;
|
|
||||||
extension = stdenv.hostPlatform.extensions.sharedLibrary;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ pytz ];
|
|
||||||
|
|
||||||
# too complicated to setup
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "A high-level Python Web framework";
|
|
||||||
homepage = "https://www.djangoproject.com/";
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
}
|
|
@ -2894,9 +2894,7 @@ in {
|
|||||||
# Alias that we should deprecate
|
# Alias that we should deprecate
|
||||||
dateutil = self.python-dateutil;
|
dateutil = self.python-dateutil;
|
||||||
|
|
||||||
debugpy = callPackage ../development/python-modules/debugpy {
|
debugpy = callPackage ../development/python-modules/debugpy { };
|
||||||
django = if isPy27 then self.django_1_11 else self.django;
|
|
||||||
};
|
|
||||||
|
|
||||||
decorator = callPackage ../development/python-modules/decorator { };
|
decorator = callPackage ../development/python-modules/decorator { };
|
||||||
|
|
||||||
@ -3756,10 +3754,6 @@ in {
|
|||||||
|
|
||||||
django_lts = self.django_2_2;
|
django_lts = self.django_2_2;
|
||||||
|
|
||||||
django_1_11 = callPackage ../development/python-modules/django/1_11.nix {
|
|
||||||
gdal = self.gdal;
|
|
||||||
};
|
|
||||||
|
|
||||||
django_2_2 = callPackage ../development/python-modules/django/2_2.nix { };
|
django_2_2 = callPackage ../development/python-modules/django/2_2.nix { };
|
||||||
|
|
||||||
django-allauth = callPackage ../development/python-modules/django-allauth { };
|
django-allauth = callPackage ../development/python-modules/django-allauth { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user