1{ lib
2, buildPythonPackage
3, fetchPypi
4, python
5, yacs
6, boxx
7}:
8
9buildPythonPackage rec {
10 pname = "zcs";
11 version = "0.1.22";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-+0lG2OirfXj55IFA9GMERVWtrWwULfVfdbIg8ebH+7M=";
16 };
17
18 patches = [
19 ./fix-test-yaml.patch
20 ];
21
22 propagatedBuildInputs = [ yacs ];
23
24 pythonImportsCheck = [ "zcs" ];
25
26 checkInputs = [ boxx ];
27 checkPhase = ''
28 ${python.interpreter} test/test_zcs.py
29 '';
30
31 meta = with lib; {
32 description = "A flexible powerful configuration system which takes advantage of both argparse and yacs";
33 homepage = "https://github.com/DIYer22/zcs";
34 license = licenses.mit;
35 maintainers = with maintainers; [ lucasew ];
36 };
37}