mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
7fcddf2b22
* catcli: 0.7.4 -> 0.8.0 (#156009) and use SPDX 3.0 license identifier Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
31 lines
666 B
Nix
31 lines
666 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildPythonApplication
|
|
, docopt, anytree
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "catcli";
|
|
version = "0.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "deadc0de6";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1hkgf692h3akdxiwhzm3vqibh1ps661qllilf55nyk109cx79gna";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|