2018-10-16 19:32:27 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "Django-${version}";
|
2018-12-24 11:10:30 +01:00
|
|
|
version = "1.8.19";
|
2018-10-16 19:32:27 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.djangoproject.com/m/releases/1.8/${name}.tar.gz";
|
2018-12-24 11:10:30 +01:00
|
|
|
sha256 = "0iy0ni9j1rnx9b06ycgbg2dkrf3qid3y2jipk9x28cykz5f4mm1k";
|
2018-10-16 19:32:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# too complicated to setup
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
# patch only $out/bin to avoid problems with starter templates (see #3134)
|
|
|
|
postFixup = ''
|
|
|
|
wrapPythonProgramsIn $out/bin "$out $pythonPath"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A high-level Python Web framework";
|
|
|
|
homepage = https://www.djangoproject.com/;
|
|
|
|
license = licenses.bsd0;
|
2019-01-30 23:57:50 +01:00
|
|
|
knownVulnerabilities = [
|
|
|
|
# The patches were not backported due to Django 1.8 having reached EOL
|
|
|
|
https://www.djangoproject.com/weblog/2018/aug/01/security-releases/
|
|
|
|
https://www.djangoproject.com/weblog/2019/jan/04/security-releases/
|
2019-07-04 02:05:22 +02:00
|
|
|
https://www.djangoproject.com/weblog/2019/feb/11/security-releases/
|
|
|
|
https://www.djangoproject.com/weblog/2019/jun/03/security-releases/
|
|
|
|
https://www.djangoproject.com/weblog/2019/jul/01/security-releases/
|
2019-01-30 23:57:50 +01:00
|
|
|
];
|
2018-10-16 19:32:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|