figsoda 2023-04-28 16:23:58 -04:00
parent 33dfdf8203
commit 71d1118bd4
2 changed files with 11 additions and 11 deletions

View file

@ -14,16 +14,16 @@
rustPlatform.buildRustPackage rec {
pname = "onefetch";
version = "2.17.0";
version = "2.17.1";
src = fetchFromGitHub {
owner = "o2sh";
repo = pname;
rev = version;
sha256 = "sha256-5d2u58i5VU+k1iC+bmiyKqe8qNTibryDxXNENxIflEI=";
hash = "sha256-mIHaeEnMKOyEeEEkE5OZgQZWwFnm69GZui64iBZkfyo=";
};
cargoSha256 = "sha256-PLxccKkJg9LNckAVG2iXU9XB1olAvVZQYRG8R6s+ibU=";
cargoHash = "sha256-XFX3J/vgjboEu+xZWTkfo5jmZJkap1u3j9G9ewrzVqc=";
cargoPatches = [
# enable pkg-config feature of zstd

View file

@ -1,14 +1,14 @@
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2039,6 +2039,7 @@ dependencies = [
"tokei",
"toml",
@@ -2498,6 +2498,7 @@ dependencies = [
"typetag",
"winres",
"yaml-rust",
+ "zstd",
]
[[package]]
@@ -3286,4 +3287,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
@@ -4052,4 +4053,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
dependencies = [
"cc",
"libc",
@ -16,11 +16,11 @@
]
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -58,6 +58,7 @@ time-humanize = { version = "0.1.3", features = ["time"] }
@@ -49,6 +49,7 @@ time-humanize = { version = "0.1.3", features = ["time"] }
tokei = "12.1.2"
toml = "0.5.9"
typetag = "0.2"
yaml-rust = "0.4.5"
+zstd = { version = "*", features = ["pkg-config"] }
[target.'cfg(windows)'.dependencies]
enable-ansi-support = "0.1.2"
[dev-dependencies]
criterion = "0.4.0"