mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
python3Packages.yacs: init at 0.1.8
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
parent
86d2d4b0ad
commit
12e1a3595c
32
pkgs/development/python-modules/yacs/default.nix
Normal file
32
pkgs/development/python-modules/yacs/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user