1{ lib
2, fetchFromGitHub
3, buildPythonApplication
4, docopt, anytree
5}:
6
7buildPythonApplication rec {
8
9 pname = "catcli";
10 version = "0.8.7";
11
12 src = fetchFromGitHub {
13 owner = "deadc0de6";
14 repo = pname;
15 rev = "refs/tags/v${version}";
16 sha256 = "sha256-hVunxgc/aUapQYe6k3hKdkC+2Jw0x1HjI/kl/fJdWUo=";
17 };
18
19 propagatedBuildInputs = [ docopt anytree ];
20
21 postPatch = "patchShebangs . ";
22
23 meta = with lib; {
24 description = "The command line catalog tool for your offline data";
25 homepage = "https://github.com/deadc0de6/catcli";
26 license = licenses.gpl3Only;
27 maintainers = with maintainers; [ petersjt014 ];
28 platforms = platforms.all;
29 };
30}