2018-10-16 18:36:26 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, django
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-environ";
|
2018-10-24 17:26:32 +01:00
|
|
|
version = "0.4.4";
|
2018-10-16 18:36:26 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 17:26:32 +01:00
|
|
|
sha256 = "1ylw16v5z46ckn8ynbx2zjam6nvipl0xxcr6icrf6driv02q8bzf";
|
2018-10-16 18:36:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# The testsuite fails to modify the base environment
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ django six ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Utilize environment variables to configure your Django application";
|
|
|
|
homepage = https://github.com/joke2k/django-environ/;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|