2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2020-04-02 10:17:59 +02:00
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonApplication
|
|
|
|
, docopt, anytree
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
|
|
|
|
pname = "catcli";
|
2021-03-10 19:55:41 +01:00
|
|
|
version = "0.6.2";
|
2020-04-02 10:17:59 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deadc0de6";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-03-10 19:55:41 +01:00
|
|
|
sha256 = "0704022gbm987q6x6vcflq4b4p4hvcqm5ikiyndy5n8fj1q8lq95";
|
2020-04-02 10:17:59 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ docopt anytree ];
|
|
|
|
|
2021-01-24 10:19:10 +01:00
|
|
|
postPatch = "patchShebangs . ";
|
2020-04-02 10:17:59 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-02 10:17:59 +02:00
|
|
|
description = "The command line catalog tool for your offline data";
|
|
|
|
homepage = "https://github.com/deadc0de6/catcli";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ petersjt014 ];
|
2021-03-17 10:26:05 +01:00
|
|
|
platforms = platforms.all;
|
2020-04-02 10:17:59 +02:00
|
|
|
};
|
|
|
|
}
|