depot/third_party/nixpkgs/pkgs/tools/filesystems/catcli/default.nix
Default email 9543354213 Project import generated by Copybara.
GitOrigin-RevId: c21ba4f7bb4a3d621eb1d187e6b5e816bb85380c
2021-09-28 10:13:01 +02:00

30 lines
662 B
Nix

{ lib
, fetchFromGitHub
, buildPythonApplication
, docopt, anytree
}:
buildPythonApplication rec {
pname = "catcli";
version = "0.7.3";
src = fetchFromGitHub {
owner = "deadc0de6";
repo = pname;
rev = "v${version}";
sha256 = "03yf9sjqdg3xcbvkn1591zxd2d0r8wz1b749zrn55k3a03c7jzf5";
};
propagatedBuildInputs = [ docopt anytree ];
postPatch = "patchShebangs . ";
meta = with lib; {
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.all;
};
}