mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Merge pull request #55484 from refnil/54943-remove-django-2.0
Remove django 2.0
This commit is contained in:
commit
06b1f8fbe6
2 changed files with 0 additions and 47 deletions
|
@ -1,43 +0,0 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, substituteAll,
|
||||
isPy3k,
|
||||
geos, gdal, pytz,
|
||||
withGdal ? false
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
version = "2.0.10";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0292a7ad7d8ffc9cfc6a77f043d2e81f5bbc360c0c4a1686e130ef3432437d23";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optionals withGdal [
|
||||
(substituteAll {
|
||||
src = ./1.10-gis-libs.template.patch;
|
||||
geos = geos;
|
||||
gdal = gdal;
|
||||
extension = stdenv.hostPlatform.extensions.sharedLibrary;
|
||||
})
|
||||
];
|
||||
|
||||
# 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 = with stdenv.lib; {
|
||||
description = "A high-level Python Web framework";
|
||||
homepage = https://www.djangoproject.com/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ georgewhewell ];
|
||||
};
|
||||
}
|
|
@ -2236,10 +2236,6 @@ in {
|
|||
gdal = self.gdal;
|
||||
};
|
||||
|
||||
django_2_0 = callPackage ../development/python-modules/django/2_0.nix {
|
||||
gdal = self.gdal;
|
||||
};
|
||||
|
||||
django_2_1 = callPackage ../development/python-modules/django/2_1.nix {
|
||||
gdal = self.gdal;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue