add Django 1.9

(cherry picked from commit 1451f004c7)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Domen Kožar 2015-12-20 22:54:11 +01:00
parent ae33ec595e
commit 804cafe6c2

View file

@ -6890,6 +6890,27 @@ in modules // {
];
};
django_1_9 = buildPythonPackage rec {
name = "Django-${version}";
version = "1.9";
disabled = pythonOlder "2.7";
src = pkgs.fetchurl {
url = "http://www.djangoproject.com/m/releases/1.9/${name}.tar.gz";
sha256 = "0rkwdxh63y7pwx9larl2g7m1z206675dzx7ipd44p3bpm0clpzh5";
};
# patch only $out/bin to avoid problems with starter templates (see #3134)
postFixup = ''
wrapPythonProgramsIn $out/bin "$out $pythonPath"
'';
meta = {
description = "A high-level Python Web framework";
homepage = https://www.djangoproject.com/;
};
};
django_1_8 = buildPythonPackage rec {
name = "Django-${version}";
version = "1.8.4";