diff options
author | zendo <linzway@qq.com> | 2023-03-23 23:35:23 +0800 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2023-03-26 23:19:38 +0200 |
commit | 4361baa782dc3d3b35fd455a1adc370681d9187c (patch) | |
tree | 314a711086dc4df50307a55a9e2b0bb05a2a682a | |
parent | 40865fcc1559e0fb84347e31e91abb74c32e43c5 (diff) | |
download | nixpkgs-4361baa782dc3d3b35fd455a1adc370681d9187c.tar nixpkgs-4361baa782dc3d3b35fd455a1adc370681d9187c.tar.gz nixpkgs-4361baa782dc3d3b35fd455a1adc370681d9187c.tar.bz2 nixpkgs-4361baa782dc3d3b35fd455a1adc370681d9187c.tar.lz nixpkgs-4361baa782dc3d3b35fd455a1adc370681d9187c.tar.xz nixpkgs-4361baa782dc3d3b35fd455a1adc370681d9187c.tar.zst nixpkgs-4361baa782dc3d3b35fd455a1adc370681d9187c.zip |
trash-cli: 0.22.10.20 -> 0.23.2.13.2
-rw-r--r-- | pkgs/tools/misc/trash-cli/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/tools/misc/trash-cli/default.nix b/pkgs/tools/misc/trash-cli/default.nix index 1ef54f05d74..f607da9099a 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; |