summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2020-11-24 00:56:00 +0100
committerGitHub <noreply@github.com>2020-11-24 00:56:00 +0100
commite2d8e85661862d352bc1cd35eea8c4291bfff86f (patch)
tree61f8991044754a4d5a08ae8824f3d51dbfbb9fb0 /pkgs
parentc9a919707814d483a19dc143070c709941ec544f (diff)
parentaeadb4c3f5c04e35475428dd5079fcdf9225fd1f (diff)
Merge pull request #104706 from rycee/bump/trash-cli
trash-cli: 0.20.11.7 -> 0.20.11.23
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/misc/trash-cli/default.nix18
1 files changed, 4 insertions, 14 deletions
diff --git a/pkgs/tools/misc/trash-cli/default.nix b/pkgs/tools/misc/trash-cli/default.nix
index 2f5a52531b9d..fce992acd31d 100644
--- a/pkgs/tools/misc/trash-cli/default.nix
+++ b/pkgs/tools/misc/trash-cli/default.nix
@@ -1,27 +1,17 @@
-{ stdenv, fetchFromGitHub, fetchpatch, coreutils
-, python3Packages, substituteAll }:
+{ stdenv, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "trash-cli";
- version = "0.20.11.7";
+ version = "0.20.11.23";
src = fetchFromGitHub {
owner = "andreafrancia";
repo = "trash-cli";
rev = version;
- sha256 = "0083vagy0jkahb5sw1il7r53ggk45zbjwwjsqd76v7ph3v1awf4v";
+ sha256 = "1fjkmpnbpzxniypql68cpwc2rrnih8b34p8pzabrf55f49wcmcph";
};
- patches = [
- (substituteAll {
- src = ./nix-paths.patch;
- df = "${coreutils}/bin/df";
- libc =
- if stdenv.hostPlatform.isDarwin
- then "/usr/lib/libSystem.dylib"
- else "${stdenv.cc.libc}/lib/libc.so.6";
- })
- ];
+ propagatedBuildInputs = [ python3Packages.psutil ];
checkInputs = with python3Packages; [
nose