1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 unittestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "tabview";
10 version = "1.4.4";
11 format = "setuptools";
12
13 # newest release only available as wheel on pypi
14 src = fetchFromGitHub {
15 owner = "TabViewer";
16 repo = "tabview";
17 rev = version;
18 sha256 = "1d1l8fhdn3w2zg7wakvlmjmgjh9lh9h5fal1clgyiqmhfix4cn4m";
19 };
20
21 nativeCheckInputs = [ unittestCheckHook ];
22
23 meta = with lib; {
24 description = "Python curses command line CSV and tabular data viewer";
25 mainProgram = "tabview";
26 homepage = "https://github.com/TabViewer/tabview";
27 changelog = "https://github.com/TabViewer/tabview/blob/main/CHANGELOG.rst";
28 license = licenses.mit;
29 maintainers = with maintainers; [ hexa ];
30 };
31}