python3Packages.environs: init at 9.3.4

This commit is contained in:
Fabian Affolter 2021-10-17 12:27:45 +02:00
parent 06bc193d23
commit cbc562a6ae
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, dj-database-url
, dj-email-url
, django-cache-url
, fetchFromGitHub
, marshmallow
, pytestCheckHook
, python-dotenv
, pythonOlder
}:
buildPythonPackage rec {
pname = "environs";
version = "9.3.4";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "sloria";
repo = pname;
rev = version;
sha256 = "0n0l9jici2d1pck5pf1c96jj3lhw91jki9nsgxzpikvpyvsw7wga";
};
propagatedBuildInputs = [
marshmallow
python-dotenv
];
checkInputs = [
dj-database-url
dj-email-url
django-cache-url
pytestCheckHook
];
pythonImportsCheck = [
"environs"
];
meta = with lib; {
description = "Python modle for environment variable parsing";
homepage = "https://github.com/sloria/environs";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2418,6 +2418,8 @@ in {
environmental-override = callPackage ../development/python-modules/environmental-override { };
environs = callPackage ../development/python-modules/environs { };
envisage = callPackage ../development/python-modules/envisage { };
envs = callPackage ../development/python-modules/envs { };