python3Packages.yacs: init at 0.1.8

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew 2022-01-07 17:04:45 -03:00
parent 86d2d4b0ad
commit 12e1a3595c
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, python
, pyyaml
}:
buildPythonPackage rec {
pname = "yacs";
version = "0.1.8";
src = fetchFromGitHub {
owner = "rbgirshick";
repo = "yacs";
rev = "v${version}";
sha256 = "sha256-nO8FL4tTkfTthXYXxXORLieFwvn780DDxfrxC9EUUJ0=";
};
propagatedBuildInputs = [ pyyaml ];
pythonImportsCheck = [ "yacs" ];
checkPhase = ''
${python.interpreter} yacs/tests.py
'';
meta = with lib; {
description = "Yet Another Configuration System";
homepage = "https://github.com/rbgirshick/yacs";
license = licenses.apsl20;
maintainers = with maintainers; [ lucasew ];
};
}

View File

@ -10545,6 +10545,8 @@ in {
yattag = callPackage ../development/python-modules/yattag { };
yacs = callPackage ../development/python-modules/yacs { };
ydiff = callPackage ../development/python-modules/ydiff { };
yeelight = callPackage ../development/python-modules/yeelight { };