3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/textfsm/default.nix

39 lines
695 B
Nix
Raw Normal View History

2020-09-19 02:15:24 +01:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, six
, future
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "textfsm";
version = "1.1.2";
format = "setuptools";
2020-09-19 02:15:24 +01:00
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = "v${version}";
sha256 = "1cbczg3h2841v1xk2s2xg540c69vsrkwxljm758fyr65kshrzlhm";
2020-09-19 02:15:24 +01:00
};
propagatedBuildInputs = [
six
future
2020-09-19 02:15:24 +01:00
];
checkInputs = [
pytestCheckHook
];
2020-09-19 02:15:24 +01:00
meta = with lib; {
description = "Python module for parsing semi-structured text into python tables";
homepage = "https://github.com/google/textfsm";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}