depot/third_party/nixpkgs/pkgs/development/python-modules/django_environ/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

27 lines
576 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, django
, six
}:
buildPythonPackage rec {
pname = "django-environ";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-v/U4FTMFYyjJrAL3F5C9W/HOqBsb7rZI8ouByeg+CiE=";
};
# 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;
};
}