depot/third_party/nixpkgs/pkgs/development/python-modules/django_environ/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

27 lines
589 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, django
, six
}:
buildPythonPackage rec {
pname = "django-environ";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "a8726675c1ebefa4706b36398c4d3c5c790d335ffe55c4a10378f6bfd57ad8d0";
};
# 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;
};
}