Merge pull request #333456 from alyssais/onefetch-2.21.0

onefetch: 2.20.0 -> 2.21.0
This commit is contained in:
Sandro 2024-08-09 21:39:19 +02:00 committed by GitHub
commit 42afc91233
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 9 deletions

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

View File

@ -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"] }