Files
nixpkgs/pkgs/development/python-modules/ntc-templates/default.nix
T
Martin Weinelt 60131f4fbb python3Packages.ntc-templates: 7.9.0 -> 8.1.0
https://github.com/networktocode/ntc-templates/releases/tag/v8.1.0

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:40 +01:00

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 = [ ];
};
}