Files
nixpkgs/pkgs/development/python-modules/hier-config/default.nix
T
2026-02-01 22:03:41 +00:00

42 lines
888 B
Nix

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