blob: a520709cf96905e81efa89b040b670bea4b4ffaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
dj-database-url,
dj-email-url,
django-cache-url,
fetchFromGitHub,
flit-core,
marshmallow,
pytestCheckHook,
python-dotenv,
}:
buildPythonPackage rec {
pname = "environs";
version = "14.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "sloria";
repo = "environs";
tag = version;
hash = "sha256-g9n4GuVSHB2VourVYlzp3zKO7MnJK4IAakbYV5tM8Uc=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [
marshmallow
python-dotenv
];
nativeCheckInputs = [
dj-database-url
dj-email-url
django-cache-url
pytestCheckHook
];
pythonImportsCheck = [ "environs" ];
meta = {
description = "Python modle for environment variable parsing";
homepage = "https://github.com/sloria/environs";
changelog = "https://github.com/sloria/environs/blob/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|