2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 18:36:26 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, django
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-environ";
|
2018-11-04 10:34:57 +00:00
|
|
|
version = "0.4.5";
|
2018-10-16 18:36:26 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:34:57 +00:00
|
|
|
sha256 = "6c9d87660142608f63ec7d5ce5564c49b603ea8ff25da595fd6098f6dc82afde";
|
2018-10-16 18:36:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# The testsuite fails to modify the base environment
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ django six ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 18:36:26 +01:00
|
|
|
description = "Utilize environment variables to configure your Django application";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/joke2k/django-environ/";
|
2018-10-16 18:36:26 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|