forked from mirrors/nixpkgs
pythonPackages.django_2_1: drop
Django-2.1 support ended on December 2, 2019, so drop it in nixpkgs as well.
This commit is contained in:
parent
ab10bac1b1
commit
1102fc870d
|
@ -116,7 +116,7 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
django_2_0 = pyPkgs: pyPkgs.django_2_1.overrideDerivation (_: rec {
|
||||
django_2_0 = pyPkgs: pyPkgs.django_2_2.overrideDerivation (_: rec {
|
||||
pname = "Django";
|
||||
version = "2.0.12";
|
||||
name = "${pname}-${version}";
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, substituteAll,
|
||||
isPy3k,
|
||||
geos, gdal, pytz,
|
||||
withGdal ? false
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
version = "2.1.15";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a794f7a2f4b7c928eecfbc4ebad03712ff27fb545abe269bf01aa8500781eb1c";
|
||||
};
|
||||
|
||||
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;
|
||||
maintainers = with maintainers; [ georgewhewell ];
|
||||
};
|
||||
}
|
|
@ -3187,10 +3187,6 @@ in {
|
|||
gdal = self.gdal;
|
||||
};
|
||||
|
||||
django_2_1 = callPackage ../development/python-modules/django/2_1.nix {
|
||||
gdal = self.gdal;
|
||||
};
|
||||
|
||||
django_2_2 = callPackage ../development/python-modules/django/2_2.nix { };
|
||||
|
||||
django_1_8 = callPackage ../development/python-modules/django/1_8.nix { };
|
||||
|
|
Loading…
Reference in a new issue