3
0
Fork 0
forked from mirrors/nixpkgs

trash-cli: 0.22.10.20 -> 0.23.2.13.2

This commit is contained in:
zendo 2023-03-23 23:35:23 +08:00 committed by Robert Helgesson
parent 40865fcc15
commit 4361baa782

View file

@ -2,13 +2,13 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "trash-cli"; pname = "trash-cli";
version = "0.22.10.20"; version = "0.23.2.13.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "andreafrancia"; owner = "andreafrancia";
repo = "trash-cli"; repo = "trash-cli";
rev = version; rev = version;
hash = "sha256-NnFOe471GxcjpTwpsoxKaWiw4lW4tUPIM+WpzCsEdkI="; hash = "sha256-TJEi7HKIrfOdb+LLRt2DN5gWdFzUeo6isb59lFLK4bQ=";
}; };
propagatedBuildInputs = with python3Packages; [ psutil six ]; propagatedBuildInputs = with python3Packages; [ psutil six ];
@ -18,6 +18,10 @@ python3Packages.buildPythonApplication rec {
pytestCheckHook pytestCheckHook
]; ];
postPatch = ''
sed -i '/typing/d' setup.cfg
'';
doInstallCheck = true; doInstallCheck = true;
installCheckPhase = '' installCheckPhase = ''
runHook preInstallCheck runHook preInstallCheck
@ -42,7 +46,7 @@ python3Packages.buildPythonApplication rec {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/andreafrancia/trash-cli"; homepage = "https://github.com/andreafrancia/trash-cli";
description = "Command line tool for the desktop trash can"; description = "Command line interface to the freedesktop.org trashcan";
maintainers = [ maintainers.rycee ]; maintainers = [ maintainers.rycee ];
platforms = platforms.unix; platforms = platforms.unix;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;