Something went wrong. Try again.
lol
Something went wrong. Try again.
933 B · 47 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ 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 = [ ]; };}