about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/filesystems/catcli/default.nix
blob: a2f5402dca25a357165a3d0bc86d2ef35fc0c88c (plain) (blame)
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
32
33
34
35
36
37
38
39
40
{ 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 = "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;
    maintainers = with maintainers; [ petersjt014 ];
    platforms = platforms.all;
  };
}