02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
29 lines
600 B
Nix
29 lines
600 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, django
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-environ";
|
|
version = "0.11.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-8yqHqgiZiUwn1OF3b6a0d+gWTtf2s+QQpiptcsqvZL4=";
|
|
};
|
|
|
|
# The testsuite fails to modify the base environment
|
|
doCheck = false;
|
|
propagatedBuildInputs = [ django six ];
|
|
|
|
meta = with lib; {
|
|
description = "Utilize environment variables to configure your Django application";
|
|
homepage = "https://github.com/joke2k/django-environ/";
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|