pythonPackages.django_2_1: drop (#78159)

pythonPackages.django_2_1: drop
This commit is contained in:
Jörg Thalheim 2020-01-21 15:23:51 +00:00 committed by GitHub
commit d3a7bc5cef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 43 deletions

View file

@ -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}";

View file

@ -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 ];
};
}

View file

@ -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 { };