3
0
Fork 0
forked from mirrors/nixpkgs

trashy: 1.0.3 -> 2.0.0

This commit is contained in:
Vonfry 2023-01-25 10:48:59 +08:00
parent 299eb96de1
commit c72d62afa2
No known key found for this signature in database
GPG key ID: E47DA4B266B726FA
2 changed files with 20 additions and 3 deletions

View file

@ -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 ];

View file

@ -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",