summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/tabview/default.nix
blob: 94fc809c9bda8e3ea3ed368f8ea37121e1c23b7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  unittestCheckHook,
}:

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";
  };

  nativeCheckInputs = [ unittestCheckHook ];

  meta = {
    description = "Python curses command line CSV and tabular data viewer";
    mainProgram = "tabview";
    homepage = "https://github.com/TabViewer/tabview";
    changelog = "https://github.com/TabViewer/tabview/blob/main/CHANGELOG.rst";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ hexa ];
  };
}