From 4361baa782dc3d3b35fd455a1adc370681d9187c Mon Sep 17 00:00:00 2001 From: zendo Date: Thu, 23 Mar 2023 23:35:23 +0800 Subject: [PATCH] trash-cli: 0.22.10.20 -> 0.23.2.13.2 --- pkgs/tools/misc/trash-cli/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/trash-cli/default.nix b/pkgs/tools/misc/trash-cli/default.nix index 1ef54f05d741..f607da9099a0 100644 --- a/pkgs/tools/misc/trash-cli/default.nix +++ b/pkgs/tools/misc/trash-cli/default.nix @@ -2,13 +2,13 @@ python3Packages.buildPythonApplication rec { pname = "trash-cli"; - version = "0.22.10.20"; + version = "0.23.2.13.2"; src = fetchFromGitHub { owner = "andreafrancia"; repo = "trash-cli"; rev = version; - hash = "sha256-NnFOe471GxcjpTwpsoxKaWiw4lW4tUPIM+WpzCsEdkI="; + hash = "sha256-TJEi7HKIrfOdb+LLRt2DN5gWdFzUeo6isb59lFLK4bQ="; }; propagatedBuildInputs = with python3Packages; [ psutil six ]; @@ -18,6 +18,10 @@ python3Packages.buildPythonApplication rec { pytestCheckHook ]; + postPatch = '' + sed -i '/typing/d' setup.cfg + ''; + doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck @@ -42,7 +46,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { 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 ]; platforms = platforms.unix; license = licenses.gpl2Plus;