diff options
author | Robert Helgesson <robert@rycee.net> | 2020-11-23 22:03:13 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2020-11-23 22:03:13 +0100 |
commit | aeadb4c3f5c04e35475428dd5079fcdf9225fd1f (patch) | |
tree | c20e4bdf16dc429bc55ef75958ad6094cf793c00 /pkgs/tools/misc/trash-cli | |
parent | d06276eb8d5b0b484d4070b6dd5d49e4f6fe74c3 (diff) |
trash-cli: 0.20.11.7 -> 0.20.11.23
Diffstat (limited to 'pkgs/tools/misc/trash-cli')
-rw-r--r-- | pkgs/tools/misc/trash-cli/default.nix | 18 |
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 2f5a52531b9db..fce992acd31d2 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 |