nixpkgs/pkgs/tools/filesystems/catcli/default.nix

31 lines
662 B
Nix
Raw Normal View History

{ lib
2020-04-02 08:17:59 +00:00
, fetchFromGitHub
, buildPythonApplication
, docopt, anytree
}:
buildPythonApplication rec {
pname = "catcli";
2021-08-17 01:58:54 +00:00
version = "0.7.0";
2020-04-02 08:17:59 +00:00
src = fetchFromGitHub {
owner = "deadc0de6";
repo = pname;
rev = "v${version}";
2021-08-17 01:58:54 +00:00
sha256 = "1r30345wzpg8yk542fmgh3khdb91s4sr9hnqxh1s71ifjsrgmpph";
2020-04-02 08:17:59 +00:00
};
propagatedBuildInputs = [ docopt anytree ];
postPatch = "patchShebangs . ";
2020-04-02 08:17:59 +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 ];
2021-03-17 09:26:05 +00:00
platforms = platforms.all;
2020-04-02 08:17:59 +00:00
};
}