python3Packages.environs: init at 9.3.4
This commit is contained in:
parent
06bc193d23
commit
cbc562a6ae
49
pkgs/development/python-modules/environs/default.nix
Normal file
49
pkgs/development/python-modules/environs/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user