onefetch: 2.20.0 -> 2.21.0

Required to build with Rust 1.80.

Link: https://github.com/rust-lang/rust/issues/127343
This commit is contained in:
Alyssa Ross
2024-08-09 15:39:02 +02:00
parent 2503ce7ec6
commit 9eaec29fad
2 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -14,16 +14,16 @@
rustPlatform.buildRustPackage rec {
pname = "onefetch";
version = "2.20.0";
version = "2.21.0";
src = fetchFromGitHub {
owner = "o2sh";
repo = pname;
rev = version;
hash = "sha256-aQeKzOxRlSGuVewh3HEx1M12vmaxhy6ImnqMDc5b0DI=";
hash = "sha256-KQs7b+skXQhHbfHIJkgowNY2FB6oS2V8TQFdkmElC/k=";
};
cargoHash = "sha256-g+fTmZGyPkQLgnJ9Bb4sLTfDMPPBRA+s6f3OxXTKwsM=";
cargoHash = "sha256-gKA1MMahoaDFia8LR33GG3jRttZzHwpUpFawlCQcy7g=";
cargoPatches = [
# enable pkg-config feature of zstd
@@ -1,22 +1,22 @@
diff --git a/Cargo.lock b/Cargo.lock
index f6d5b6c..a631bbf 100644
index dd0e3e1..5738ec1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2544,6 +2544,7 @@ dependencies = [
@@ -2829,6 +2829,7 @@ dependencies = [
"tokei",
"typetag",
"winres",
"yaml-rust",
+ "zstd",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index b77f70d..861f1ac 100644
index a0a2777..ad146cb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -65,6 +65,7 @@ tokei = "12.1.2"
@@ -65,6 +65,7 @@ time-humanize = { version = "0.1.3", features = ["time"] }
tokei = "12.1.2"
typetag = "0.2"
yaml-rust = "0.4.5"
parking_lot = "0.12"
+zstd = { version = "*", features = ["pkg-config"] }