Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
41 lines
917 B
Nix
41 lines
917 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "catcli";
|
|
version = "0.9.6";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "deadc0de6";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-+/kd7oPT6msojPj25bzG9HwVqPj47gIUg9LngbDc3y8=";
|
|
};
|
|
|
|
postPatch = "patchShebangs . ";
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
anytree
|
|
docopt
|
|
fusepy
|
|
pyfzf
|
|
types-docopt
|
|
];
|
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Command line catalog tool for your offline data";
|
|
mainProgram = "catcli";
|
|
homepage = "https://github.com/deadc0de6/catcli";
|
|
changelog = "https://github.com/deadc0de6/catcli/releases/tag/v${version}";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ petersjt014 ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|