Files
2026-07-19 03:21:26 +00:00

42 lines
887 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pydantic,
pytestCheckHook,
pyyaml,
}:
buildPythonPackage (finalAttrs: {
pname = "hier-config";
version = "3.6.2";
pyproject = true;
src = fetchFromGitHub {
owner = "netdevops";
repo = "hier_config";
tag = "v${finalAttrs.version}";
hash = "sha256-hE9W5f+RUDBu0AaqP++QjrTJo6biKIxUMSE18C++AVI=";
};
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/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})