2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-04-02 09:17:59 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonApplication
|
|
|
|
, docopt, anytree
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
|
|
|
|
pname = "catcli";
|
2022-09-08 06:23:54 +01:00
|
|
|
version = "0.8.7";
|
2020-04-02 09:17:59 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deadc0de6";
|
|
|
|
repo = pname;
|
2022-06-18 02:09:09 +01:00
|
|
|
rev = "refs/tags/v${version}";
|
2022-09-08 06:23:54 +01:00
|
|
|
sha256 = "sha256-hVunxgc/aUapQYe6k3hKdkC+2Jw0x1HjI/kl/fJdWUo=";
|
2020-04-02 09:17:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ docopt anytree ];
|
|
|
|
|
2021-01-24 09:19:10 +00:00
|
|
|
postPatch = "patchShebangs . ";
|
2020-04-02 09:17:59 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-02 09:17:59 +01:00
|
|
|
description = "The command line catalog tool for your offline data";
|
|
|
|
homepage = "https://github.com/deadc0de6/catcli";
|
2022-01-21 23:28:56 +00:00
|
|
|
license = licenses.gpl3Only;
|
2020-04-02 09:17:59 +01:00
|
|
|
maintainers = with maintainers; [ petersjt014 ];
|
2021-03-17 09:26:05 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-02 09:17:59 +01:00
|
|
|
};
|
|
|
|
}
|