forked from mirrors/nixpkgs
trashy: 1.0.3 -> 2.0.0
This commit is contained in:
parent
299eb96de1
commit
c72d62afa2
|
@ -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 ];
|
||||
|
||||
|
|
13
pkgs/tools/misc/trashy/lock-version.patch
Normal file
13
pkgs/tools/misc/trashy/lock-version.patch
Normal 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",
|
Loading…
Reference in a new issue