mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
add Django 1.9
(cherry picked from commit 1451f004c7
)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
parent
ae33ec595e
commit
804cafe6c2
1 changed files with 21 additions and 0 deletions
|
@ -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 {
|
django_1_8 = buildPythonPackage rec {
|
||||||
name = "Django-${version}";
|
name = "Django-${version}";
|
||||||
version = "1.8.4";
|
version = "1.8.4";
|
||||||
|
|
Loading…
Reference in a new issue