blob: f443c58723e8e3e618e705e057fef3d258c0280d (
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyyaml
, jinja2
}:
buildPythonPackage rec {
pname = "HiYaPyCo";
version = "0.4.16";
src = fetchFromGitHub {
owner = "zerwes";
repo = pname;
rev = "release-${version}";
sha256 = "1ams9dp05yhgbg6255wrjgchl2mqg0s34d8b8prvql9lsh59s1fj";
};
propagatedBuildInputs = [ pyyaml jinja2 ];
checkPhase = ''
set -e
find test -name 'test_*.py' -exec python {} \;
'';
meta = with lib; {
description = "A simple python lib allowing hierarchical overlay of config files in YAML syntax, offering different merge methods and variable interpolation based on jinja2.";
homepage = "https://github.com/zerwes/hiyapyco";
license = licenses.gpl3;
maintainers = with maintainers; [ veehaitch ];
};
}
|