Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 python, 6 yacs, 7 boxx, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "zcs"; 13 version = "0.1.25"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-/QIyRQtxLDVW+vcQi5bL8rJ0o3+OhqGhQEALR1YO1pg="; 21 }; 22 23 patches = [ ./fix-test-yaml.patch ]; 24 25 propagatedBuildInputs = [ yacs ]; 26 27 pythonImportsCheck = [ "zcs" ]; 28 29 nativeCheckInputs = [ boxx ]; 30 31 checkPhase = '' 32 ${python.interpreter} test/test_zcs.py 33 ''; 34 35 meta = with lib; { 36 description = "Configuration system which takes advantage of both argparse and yacs"; 37 homepage = "https://github.com/DIYer22/zcs"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ lucasew ]; 40 }; 41}