2021-04-26 19:14:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2022-09-09 14:08:57 +00:00
|
|
|
, unittestCheckHook
|
2021-04-26 19:14:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tabview";
|
|
|
|
version = "1.4.4";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
# newest release only available as wheel on pypi
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TabViewer";
|
|
|
|
repo = "tabview";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1d1l8fhdn3w2zg7wakvlmjmgjh9lh9h5fal1clgyiqmhfix4cn4m";
|
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python curses command line CSV and tabular data viewer";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "tabview";
|
2021-04-26 19:14:03 +00:00
|
|
|
homepage = "https://github.com/TabViewer/tabview";
|
|
|
|
changelog = "https://github.com/TabViewer/tabview/blob/main/CHANGELOG.rst";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ hexa ];
|
|
|
|
};
|
|
|
|
}
|