depot/third_party/nixpkgs/pkgs/development/python-modules/tabview/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

31 lines
754 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, python
}:
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";
};
checkPhase = ''
${python.interpreter} -m unittest discover
'';
meta = with lib; {
description = "Python curses command line CSV and tabular data viewer";
homepage = "https://github.com/TabViewer/tabview";
changelog = "https://github.com/TabViewer/tabview/blob/main/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}