blob: b957e543bcda64a77eb2d19924f7c966c19cbc58 (
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
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
textfsm,
invoke,
pytestCheckHook,
ruamel-yaml,
toml,
yamllint,
}:
buildPythonPackage rec {
pname = "ntc-templates";
version = "7.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "networktocode";
repo = "ntc-templates";
tag = "v${version}";
hash = "sha256-ujWPcVqwdtMlCkTZP/PJ3oMR60F6IHrZXXhcNT7JmmM=";
};
build-system = [ poetry-core ];
pythonRelaxDeps = [ "textfsm" ];
dependencies = [ textfsm ];
nativeCheckInputs = [
invoke
pytestCheckHook
ruamel-yaml
toml
yamllint
];
meta = {
description = "TextFSM templates for parsing show commands of network devices";
homepage = "https://github.com/networktocode/ntc-templates";
changelog = "https://github.com/networktocode/ntc-templates/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|