figsoda 2023-06-20 14:40:34 -04:00
parent 725e8ab49c
commit adb3dec36b
2 changed files with 8 additions and 8 deletions

View file

@ -14,16 +14,16 @@
rustPlatform.buildRustPackage rec {
pname = "onefetch";
version = "2.17.1";
version = "2.18.0";
src = fetchFromGitHub {
owner = "o2sh";
repo = pname;
rev = version;
hash = "sha256-mIHaeEnMKOyEeEEkE5OZgQZWwFnm69GZui64iBZkfyo=";
hash = "sha256-XjsKdfz4uQ1W8ul/2dbKiz7oVksUv5UNBF0U0MNsUPs=";
};
cargoHash = "sha256-XFX3J/vgjboEu+xZWTkfo5jmZJkap1u3j9G9ewrzVqc=";
cargoHash = "sha256-G7cJoUxkOn6pQtRwzI8/KFvvbkN8JLgZcdUUZffIydo=";
cargoPatches = [
# enable pkg-config feature of zstd

View file

@ -1,6 +1,6 @@
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2498,6 +2498,7 @@ dependencies = [
@@ -2534,6 +2534,7 @@ dependencies = [
"typetag",
"winres",
"yaml-rust",
@ -8,7 +8,7 @@
]
[[package]]
@@ -4052,4 +4053,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
@@ -4113,4 +4114,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
dependencies = [
"cc",
"libc",
@ -16,11 +16,11 @@
]
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -49,6 +49,7 @@ time-humanize = { version = "0.1.3", features = ["time"] }
tokei = "12.1.2"
@@ -51,6 +51,7 @@ tokei = "12.1.2"
typetag = "0.2"
yaml-rust = "0.4.5"
parking_lot = "0.12"
+zstd = { version = "*", features = ["pkg-config"] }
[dev-dependencies]
criterion = "0.4.0"
criterion = "0.5.1"