Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, poetry-core, textfsm, invoke, pytestCheckHook, ruamel-yaml, toml, yamllint,}:
buildPythonPackage rec { pname = "ntc-templates"; version = "7.9.0"; pyproject = true;
disabled = pythonOlder "3.8";
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 ];
# https://github.com/networktocode/ntc-templates/issues/743 disabledTests = [ "test_raw_data_against_mock" "test_verify_parsed_and_reference_data_exists" ];
meta = with lib; { 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 = licenses.asl20; maintainers = [ ]; };}