blob: 89ee7a239098ab0d782dd7723951435695aac5b7 (
plain) (
blame)
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
|
{ lib
, buildPythonPackage
, fetchPypi
, python
, yacs
, boxx
, pythonOlder
}:
buildPythonPackage rec {
pname = "zcs";
version = "0.1.25";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-/QIyRQtxLDVW+vcQi5bL8rJ0o3+OhqGhQEALR1YO1pg=";
};
patches = [
./fix-test-yaml.patch
];
propagatedBuildInputs = [
yacs
];
pythonImportsCheck = [
"zcs"
];
nativeCheckInputs = [
boxx
];
checkPhase = ''
${python.interpreter} test/test_zcs.py
'';
meta = with lib; {
description = "Configuration system which takes advantage of both argparse and yacs";
homepage = "https://github.com/DIYer22/zcs";
license = licenses.mit;
maintainers = with maintainers; [ lucasew ];
};
}
|