nixpkgs/pkgs/tools/filesystems/catcli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
893 B
Nix
Raw Normal View History

{ lib
2020-04-02 08:17:59 +00:00
, fetchFromGitHub
, python3
2020-04-02 08:17:59 +00:00
}:
python3.pkgs.buildPythonApplication rec {
2020-04-02 08:17:59 +00:00
pname = "catcli";
version = "0.9.6";
format = "setuptools";
2020-04-02 08:17:59 +00:00
src = fetchFromGitHub {
owner = "deadc0de6";
repo = pname;
2022-06-18 01:09:09 +00:00
rev = "refs/tags/v${version}";
hash = "sha256-+/kd7oPT6msojPj25bzG9HwVqPj47gIUg9LngbDc3y8=";
2020-04-02 08:17:59 +00:00
};
postPatch = "patchShebangs . ";
2020-04-02 08:17:59 +00:00
propagatedBuildInputs = with python3.pkgs; [
anytree
docopt
fusepy
pyfzf
types-docopt
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
meta = with lib; {
2020-04-02 08:17:59 +00:00
description = "The command line catalog tool for your offline data";
homepage = "https://github.com/deadc0de6/catcli";
changelog = "https://github.com/deadc0de6/catcli/releases/tag/v${version}";
license = licenses.gpl3Only;
2020-04-02 08:17:59 +00:00
maintainers = with maintainers; [ petersjt014 ];
2021-03-17 09:26:05 +00:00
platforms = platforms.all;
2020-04-02 08:17:59 +00:00
};
}