mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #103486 from rycee/bump/trash-cli
trash-cli: 0.17.1.14 -> 0.20.11.7
This commit is contained in:
commit
a887211a5e
@ -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 = [
|
||||
@ -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; [
|
||||
|
Loading…
Reference in New Issue
Block a user