nixpkgs/pkgs/tools/misc/onefetch/zstd-pkg-config.patch

27 lines
559 B
Diff

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