blob: 1e2b45a7dc60a682a237e79c7f7c49526ce1133f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pyyaml,
jinja2,
}:
buildPythonPackage rec {
pname = "hiyapyco";
version = "0.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "zerwes";
repo = pname;
rev = "refs/tags/release-${version}";
hash = "sha256-KB/KFrR7IScIWyYbsU+4BbV0+SCeeWxYDD8lbxosRLc=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
pyyaml
jinja2
];
checkPhase = ''
runHook preCheck
set -e
find test -name 'test_*.py' -exec python {} \;
runHook postCheck
'';
pythonImportsCheck = [ "hiyapyco" ];
meta = with lib; {
description = "Python library allowing hierarchical overlay of config files in YAML syntax";
homepage = "https://github.com/zerwes/hiyapyco";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ veehaitch ];
};
}
|