depot/third_party/nixpkgs/pkgs/tools/filesystems/catcli/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

30 lines
675 B
Nix

{ lib
, fetchFromGitHub
, buildPythonApplication
, docopt, anytree
}:
buildPythonApplication rec {
pname = "catcli";
version = "0.8.1";
src = fetchFromGitHub {
owner = "deadc0de6";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-fnnioUMZZZOydpZixiTOHAL2fSA6TOE4AO9Gff5SDxY=";
};
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.gpl3Only;
maintainers = with maintainers; [ petersjt014 ];
platforms = platforms.all;
};
}