My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/yacs/default.nix

32 lines
656 B

{ 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 ];
};
}