pythonPackages.django_environ: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-16 13:36:26 -04:00
committed by Frederik Rietdijk
parent 90089d8786
commit 3ec02fd004
2 changed files with 28 additions and 19 deletions

View File

@@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, django
, six
}:
buildPythonPackage rec {
pname = "django-environ";
version = "0.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0i32vsgk1xmwpi7i6f6v5hg653y9dl0fsz5qmv94skz6hwgm5kvh";
};
# 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;
};
}