mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
0215034f25
when they already rely on SRI hashes.
33 lines
654 B
Nix
33 lines
654 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, python
|
|
, pyyaml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "yacs";
|
|
version = "0.1.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rbgirshick";
|
|
repo = "yacs";
|
|
rev = "v${version}";
|
|
hash = "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 ];
|
|
};
|
|
}
|