2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-04-02 08:17:59 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonApplication
|
|
|
|
, docopt, anytree
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
|
|
|
|
pname = "catcli";
|
2021-02-18 06:12:42 +00:00
|
|
|
version = "0.6.1";
|
2020-04-02 08:17:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deadc0de6";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-18 06:12:42 +00:00
|
|
|
sha256 = "1k5xjz353ry0vbmq1ql7brb9g4wwsijzix2zh5zpd768xl8nc1z8";
|
2020-04-02 08:17:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ docopt anytree ];
|
|
|
|
|
2021-01-24 09:19:10 +00:00
|
|
|
postPatch = "patchShebangs . ";
|
2020-04-02 08:17:59 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
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";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ petersjt014 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|