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