blob: 2f0af23cf0df4a7afab8f2e97650f32c533c50d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pydantic,
pytestCheckHook,
pyyaml,
}:
buildPythonPackage (finalAttrs: {
pname = "hier-config";
version = "3.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "netdevops";
repo = "hier_config";
tag = "v${finalAttrs.version}";
hash = "sha256-Q360VBd7r0URu3zTgnrPL9NaasJQnKaIGDc9KjLJMyI=";
};
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 ];
};
})
|