1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, six 5, future 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "textfsm"; 11 version = "1.1.3"; 12 format = "setuptools"; 13 14 15 src = fetchFromGitHub { 16 owner = "google"; 17 repo = pname; 18 rev = "v${version}"; 19 hash = "sha256-IHgKG8v0X+LSK6purWBdwDnI/BCs5XA12ZJixuqqXWg="; 20 }; 21 22 propagatedBuildInputs = [ 23 six 24 future 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 meta = with lib; { 32 description = "Python module for parsing semi-structured text into python tables"; 33 homepage = "https://github.com/google/textfsm"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ hexa ]; 36 }; 37}