python313Packages.hier-config: init at 3.2.2

Module to handle hierarchical configurations

https://github.com/netdevops/hier_config
This commit is contained in:
Fabian Affolter
2025-03-08 13:31:01 +01:00
parent 5cef95c41e
commit cad01ebfeb
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pydantic,
pytestCheckHook,
pyyaml,
}:
buildPythonPackage rec {
pname = "hier-config";
version = "3.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "netdevops";
repo = "hier_config";
tag = "v${version}";
hash = "sha256-3xSxzdIxoQgJtA3CX141jP2Zl2j8Dwfplv4JYpHpCdQ=";
};
build-system = [ poetry-core ];
dependencies = [ pydantic ];
nativeCheckInputs = [
pytestCheckHook
pyyaml
];
pythonImportsCheck = [ "hier_config" ];
meta = {
description = "Module to handle hierarchical configurations";
homepage = "https://github.com/netdevops/hier_config";
changelog = "https://github.com/netdevops/hier_config/releases/tag/v${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@@ -6034,6 +6034,8 @@ self: super: with self; {
hid-parser = callPackage ../development/python-modules/hid-parser { };
hier-config = callPackage ../development/python-modules/hier-config { };
hieroglyph = callPackage ../development/python-modules/hieroglyph { };
hijri-converter = callPackage ../development/python-modules/hijri-converter { };