Skip to content

Commit

Permalink
trash-cli: 0.17.1.14 -> 0.20.11.7
Browse files Browse the repository at this point in the history
  • Loading branch information
rycee committed Nov 11, 2020
1 parent d7e7fb7 commit 14a6cf2
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions pkgs/tools/misc/trash-cli/default.nix
Expand Up @@ -3,13 +3,13 @@

python3Packages.buildPythonApplication rec {
pname = "trash-cli";
version = "0.17.1.14";
version = "0.20.11.7";

src = fetchFromGitHub {
owner = "andreafrancia";
repo = "trash-cli";
rev = version;
sha256 = "1bqazna223ibqjwbc1wfvfnspfyrvjy8347qlrgv4cpng72n7gfi";
sha256 = "0083vagy0jkahb5sw1il7r53ggk45zbjwwjsqd76v7ph3v1awf4v";
};

patches = [
Expand All @@ -19,18 +19,6 @@ python3Packages.buildPythonApplication rec {
libc = let ext = if stdenv.isDarwin then ".dylib" else ".so.6";
in "${stdenv.cc.libc}/lib/libc${ext}";
})

# Fix build on Python 3.6.
(fetchpatch {
url = "https://github.com/andreafrancia/trash-cli/commit/a21b80d1e69783bb09376c3f60dd2f2a10578805.patch";
sha256 = "0w49rjh433sjfc2cl5a9wlbr6kcn9f1qg905qsyv7ay3ar75wvyp";
})

# Fix listing trashed files over mount points, see https://github.com/andreafrancia/trash-cli/issues/95
(fetchpatch {
url = "https://github.com/andreafrancia/trash-cli/commit/436dfddb4c2932ba3ff696e4732750b7bdc58461.patch";
sha256 = "02pkcz7nj67jbnqpw1943nrv95m8xyjvab4j62fa64r73fagm8m4";
})
];

checkInputs = with python3Packages; [
Expand Down

0 comments on commit 14a6cf2

Please sign in to comment.