60131f4fbb
https://github.com/networktocode/ntc-templates/releases/tag/v8.1.0 This commit was automatically generated using update-python-libraries.
48 lines
933 B
Nix
48 lines
933 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
textfsm,
|
|
invoke,
|
|
pytestCheckHook,
|
|
ruamel-yaml,
|
|
toml,
|
|
yamllint,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ntc-templates";
|
|
version = "8.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "networktocode";
|
|
repo = "ntc-templates";
|
|
tag = "v${version}";
|
|
hash = "sha256-J1Icf9UG5IMYBH90Mfxd+p+rk57z2OXQENnoRAaepN4=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|