python3Packages.zcs: init at 0.1.17

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew 2022-01-07 16:50:15 -03:00
parent 2a1bea692f
commit 86d2d4b0ad
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, yacs
, boxx
}:
buildPythonPackage rec {
pname = "zcs";
version = "0.1.17";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ZoQgAaJy3kKHLljyKA0Oo/D1kefE8X9FlsGDSNt1nPw=";
};
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 ];
};
}

View File

@ -10601,6 +10601,8 @@ in {
zconfig = callPackage ../development/python-modules/zconfig { };
zcs = callPackage ../development/python-modules/zcs { };
zdaemon = callPackage ../development/python-modules/zdaemon { };
zeek = toPythonModule (pkgs.zeek.override {