diff options
author | Vonfry <mail@vonfry.name> | 2023-01-25 10:48:59 +0800 |
---|---|---|
committer | Vonfry <mail@vonfry.name> | 2023-01-25 10:48:59 +0800 |
commit | c72d62afa2defef10e44bc4f679e56bda01ece34 (patch) | |
tree | 548e8226386e8734dd0d754de71b95169ef37ca9 /pkgs/tools/misc/trashy | |
parent | 299eb96de142e6e8a617a99c3e5d64663499bb74 (diff) |
trashy: 1.0.3 -> 2.0.0
Diffstat (limited to 'pkgs/tools/misc/trashy')
-rw-r--r-- | pkgs/tools/misc/trashy/default.nix | 10 | ||||
-rw-r--r-- | pkgs/tools/misc/trashy/lock-version.patch | 13 |
2 files changed, 20 insertions, 3 deletions
diff --git a/pkgs/tools/misc/trashy/default.nix b/pkgs/tools/misc/trashy/default.nix index 7d3b3952a7ca3..fb42a886fee52 100644 --- a/pkgs/tools/misc/trashy/default.nix +++ b/pkgs/tools/misc/trashy/default.nix @@ -2,16 +2,20 @@ rustPlatform.buildRustPackage rec { pname = "trashy"; - version = "1.0.3"; + version = "2.0.0"; src = fetchFromGitHub { owner = "oberblastmeister"; repo = "trashy"; rev = "v${version}"; - sha256 = "sha256-b50Q7knJzXKDfM1kw6wLvXunhgOXVs+zYvZx/NYqMdk="; + sha256 = "sha256-xYSk0M8oNwbwZbKWDXMQlnt7vKi0p3+2Tr4eXCvtHEM="; }; - cargoSha256 = "sha256-2hNNLXuAHd1bquhHimniqryTVMfBmPAOossggICScqQ="; + cargoSha256 = "sha256-ZWqWtWzb+CLH1ravBb/oV+aPxplEyiC1wEFhvchcLqg="; + + # this patch must be removed after oberblastmeister/trashy#70 is solved or new + # version is released. + cargoPatches = [ ./lock-version.patch ]; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/tools/misc/trashy/lock-version.patch b/pkgs/tools/misc/trashy/lock-version.patch new file mode 100644 index 0000000000000..3e95a3fbfddae --- /dev/null +++ b/pkgs/tools/misc/trashy/lock-version.patch @@ -0,0 +1,13 @@ +diff --git a/Cargo.lock b/Cargo.lock +index 7af0268..dc197a0 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -889,7 +889,7 @@ dependencies = [ + + [[package]] + name = "trashy" +-version = "1.0.3" ++version = "2.0.0" + dependencies = [ + "aho-corasick", + "ansi_term", |