python3Packages.textfsm: refactor (#409566)

This commit is contained in:
dotlambda
2025-09-30 15:45:29 +00:00
committed by GitHub
2 changed files with 2 additions and 7 deletions
@@ -40,12 +40,6 @@ buildPythonPackage rec {
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";
@@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "google";
repo = pname;
repo = "textfsm";
tag = "v${version}";
hash = "sha256-ygVcDdT85mRN+qYfTZqraRVyp2JlLwwujBW1e/pPJNc=";
};
@@ -23,6 +23,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
changelog = "https://github.com/google/textfsm/releases/tag/${src.tag}";
description = "Python module for parsing semi-structured text into python tables";
mainProgram = "textfsm";
homepage = "https://github.com/google/textfsm";