at master 746 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "textfsm"; 11 version = "2.1.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "google"; 16 repo = "textfsm"; 17 tag = "v${version}"; 18 hash = "sha256-ygVcDdT85mRN+qYfTZqraRVyp2JlLwwujBW1e/pPJNc="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 meta = with lib; { 26 changelog = "https://github.com/google/textfsm/releases/tag/${src.tag}"; 27 description = "Python module for parsing semi-structured text into python tables"; 28 mainProgram = "textfsm"; 29 homepage = "https://github.com/google/textfsm"; 30 license = licenses.asl20; 31 maintainers = [ ]; 32 }; 33}