mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
pythonPackages.hiyapyco: init at 0.4.16
This commit is contained in:
parent
4a4f5cd615
commit
354798437a
32
pkgs/development/python-modules/hiyapyco/default.nix
Normal file
32
pkgs/development/python-modules/hiyapyco/default.nix
Normal file
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
@ -813,6 +813,8 @@ in {
|
||||
|
||||
hdmedians = callPackage ../development/python-modules/hdmedians { };
|
||||
|
||||
hiyapyco = callPackage ../development/python-modules/hiyapyco { };
|
||||
|
||||
hocr-tools = callPackage ../development/python-modules/hocr-tools { };
|
||||
|
||||
holidays = callPackage ../development/python-modules/holidays { };
|
||||
|
Loading…
Reference in New Issue
Block a user