2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 17:36:26 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, django
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-environ";
|
2021-10-27 10:24:34 +00:00
|
|
|
version = "0.8.1";
|
2018-10-16 17:36:26 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-27 10:24:34 +00:00
|
|
|
sha256 = "6f0bc902b43891656b20486938cba0861dc62892784a44919170719572a534cb";
|
2018-10-16 17:36:26 +00: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 17:36:26 +00:00
|
|
|
description = "Utilize environment variables to configure your Django application";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/joke2k/django-environ/";
|
2018-10-16 17:36:26 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|