Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 54 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, poetry-core, textfsm, invoke, pytestCheckHook, ruamel-yaml, toml, yamllint,}:
buildPythonPackage rec { pname = "ntc-templates"; version = "4.4.0"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "networktocode"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-8Lzh6ku2TUQFatqbOb5JIc/WkRPegx/gNnT53DErMuk="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ 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/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ ]; };}