Fabian Affolter 2023-08-26 12:50:17 +02:00
parent f036cc78a5
commit c1bb32ee72

View file

@ -1,28 +1,38 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, buildPythonApplication , python3
, docopt, anytree
}: }:
buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "catcli"; pname = "catcli";
version = "0.8.7"; version = "0.9.6";
format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "deadc0de6"; owner = "deadc0de6";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-hVunxgc/aUapQYe6k3hKdkC+2Jw0x1HjI/kl/fJdWUo="; hash = "sha256-+/kd7oPT6msojPj25bzG9HwVqPj47gIUg9LngbDc3y8=";
}; };
propagatedBuildInputs = [ docopt anytree ];
postPatch = "patchShebangs . "; postPatch = "patchShebangs . ";
propagatedBuildInputs = with python3.pkgs; [
anytree
docopt
fusepy
pyfzf
types-docopt
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
meta = with lib; { meta = with lib; {
description = "The command line catalog tool for your offline data"; description = "The command line catalog tool for your offline data";
homepage = "https://github.com/deadc0de6/catcli"; homepage = "https://github.com/deadc0de6/catcli";
changelog = "https://github.com/deadc0de6/catcli/releases/tag/v${version}";
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = with maintainers; [ petersjt014 ]; maintainers = with maintainers; [ petersjt014 ];
platforms = platforms.all; platforms = platforms.all;