mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
Merge pull request #27682 from lsix/drop_django_1_10
pythonPackages.django_1_10: drop
This commit is contained in:
commit
17496a2e07
@ -1,36 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, substituteAll,
|
||||
pythonOlder,
|
||||
geos, gdal
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.10.7";
|
||||
disabled = pythonOlder "2.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.djangoproject.com/m/releases/1.10/${name}.tar.gz";
|
||||
sha256 = "1f5hnn2dzfr5szk4yc47bs4kk2nmrayjcvgpqi2s4l13pjfpfgar";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./1.10-gis-libs.template.patch;
|
||||
geos = geos;
|
||||
gdal = gdal;
|
||||
})
|
||||
];
|
||||
|
||||
# patch only $out/bin to avoid problems with starter templates (see #3134)
|
||||
postFixup = ''
|
||||
wrapPythonProgramsIn $out/bin "$out $pythonPath"
|
||||
'';
|
||||
|
||||
# too complicated to setup
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A high-level Python Web framework";
|
||||
homepage = https://www.djangoproject.com/;
|
||||
};
|
||||
}
|
@ -9343,13 +9343,6 @@ in {
|
||||
gdal = self.gdal;
|
||||
};
|
||||
|
||||
# TODO: Django 1.10 will be maintained until the end of the year. Therefore,
|
||||
# it will be dropped before 17.09.
|
||||
# https://github.com/NixOS/nixpkgs/issues/25375#issuecomment-298522597
|
||||
django_1_10 = callPackage ../development/python-modules/django/1_10.nix {
|
||||
gdal = self.gdal;
|
||||
};
|
||||
|
||||
django_1_8 = buildPythonPackage rec {
|
||||
name = "Django-${version}";
|
||||
version = "1.8.18";
|
||||
|
Loading…
Reference in New Issue
Block a user