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 = pname;
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 description = "Python module for parsing semi-structured text into python tables";
27 mainProgram = "textfsm";
28 homepage = "https://github.com/google/textfsm";
29 license = licenses.asl20;
30 maintainers = [ ];
31 };
32}