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