3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/zcs/default.nix
lucasew 86d2d4b0ad python3Packages.zcs: init at 0.1.17
Signed-off-by: lucasew <lucas59356@gmail.com>
2022-01-13 11:06:08 -03:00

34 lines
682 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=";
};
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 ];
};
}