Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 32 lines 784 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pyyaml 5, jinja2 6}: 7 8buildPythonPackage rec { 9 pname = "HiYaPyCo"; 10 version = "0.4.16"; 11 12 src = fetchFromGitHub { 13 owner = "zerwes"; 14 repo = pname; 15 rev = "release-${version}"; 16 sha256 = "1ams9dp05yhgbg6255wrjgchl2mqg0s34d8b8prvql9lsh59s1fj"; 17 }; 18 19 propagatedBuildInputs = [ pyyaml jinja2 ]; 20 21 checkPhase = '' 22 set -e 23 find test -name 'test_*.py' -exec python {} \; 24 ''; 25 26 meta = with lib; { 27 description = "A simple python lib allowing hierarchical overlay of config files in YAML syntax, offering different merge methods and variable interpolation based on jinja2."; 28 homepage = "https://github.com/zerwes/hiyapyco"; 29 license = licenses.gpl3; 30 maintainers = with maintainers; [ veehaitch ]; 31 }; 32}