mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
b438b68cb4
Signed-off-by: lucasew <lucas59356@gmail.com>
38 lines
728 B
Nix
38 lines
728 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
, yacs
|
|
, boxx
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zcs";
|
|
version = "0.1.17";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ZoQgAaJy3kKHLljyKA0Oo/D1kefE8X9FlsGDSNt1nPw=";
|
|
};
|
|
|
|
patches = [
|
|
./fix-test-yaml.patch
|
|
];
|
|
|
|
propagatedBuildInputs = [ yacs ];
|
|
|
|
pythonImportsCheck = [ "zcs" ];
|
|
|
|
checkInputs = [ boxx ];
|
|
checkPhase = ''
|
|
${python.interpreter} test/test_zcs.py
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A flexible powerful configuration system which takes advantage of both argparse and yacs";
|
|
homepage = "https://github.com/DIYer22/zcs";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ lucasew ];
|
|
};
|
|
}
|