From 8cf4803d5e4aa6c6b937a23d55c7b7822150d9be Mon Sep 17 00:00:00 2001 From: Martin Lavoie Date: Thu, 7 Feb 2019 21:41:13 -0500 Subject: Django: 2.0 -> removed Django 2.0 will reach EOL soon after the release of Nixos 19.03 Close issue #54943 --- pkgs/development/python-modules/django/2_0.nix | 43 -------------------------- pkgs/top-level/python-packages.nix | 4 --- 2 files changed, 47 deletions(-) delete mode 100644 pkgs/development/python-modules/django/2_0.nix diff --git a/pkgs/development/python-modules/django/2_0.nix b/pkgs/development/python-modules/django/2_0.nix deleted file mode 100644 index daabcefb6e92..000000000000 --- a/pkgs/development/python-modules/django/2_0.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7cc5e187764e..ea3e4261293e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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; }; -- cgit 1.4.1