mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 05:57:28 +00:00

checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
30 lines
739 B
Nix
30 lines
739 B
Nix
{ 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 = 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 ];
|
|
};
|
|
}
|