figsoda 2022-12-06 10:56:59 -05:00
parent c20624ae40
commit 510831f0c9
2 changed files with 14 additions and 13 deletions

View file

@ -9,13 +9,13 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-about";
version = "0.5.1";
version = "0.5.2";
src = fetchFromGitHub {
owner = "EmbarkStudios";
repo = "cargo-about";
rev = version;
sha256 = "sha256-T8Hhody0jMmZb6/xMkSvKCv4STZPbcrf/UB3APspYDM=";
sha256 = "sha256-8476jJK1oiXVX9G09NSL+xvXZdZ+h7grCHC6R0XXewo=";
};
cargoPatches = [
@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec {
./zstd-pkg-config.patch
];
cargoSha256 = "sha256-2Reqj+WP6OoaB/3Z5llZP4c5ToVmMNX0Fe0IqDwcg2E=";
cargoSha256 = "sha256-EFpkBWQSWYyMrUa9Dh+n9kDNmXL/2yuEmFN3DcPeE7U=";
nativeBuildInputs = [ pkg-config ];

View file

@ -1,6 +1,6 @@
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -183,6 +183,7 @@ dependencies = [
@@ -207,6 +207,7 @@ dependencies = [
"toml_edit",
"twox-hash",
"url",
@ -8,32 +8,33 @@
]
[[package]]
@@ -1039,6 +1040,12 @@ version = "0.1.0"
@@ -1093,6 +1094,12 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
+[[package]]
+name = "pkg-config"
+version = "0.3.22"
+version = "0.3.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "12295df4f294471248581bc09bef3c38a5e46f1e36d6a37353621a0c6c357e1f"
+checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160"
+
[[package]]
name = "ppv-lite86"
version = "0.2.15"
@@ -1902,4 +1909,5 @@ checksum = "2141bed8922b427761470e6bbfeff255da94fa20b0bbeab0d9297fcaf71e3aa7"
version = "0.2.16"
@@ -2045,4 +2052,5 @@ checksum = "2141bed8922b427761470e6bbfeff255da94fa20b0bbeab0d9297fcaf71e3aa7"
dependencies = [
"cc",
"libc",
+ "pkg-config",
]
diff --git a/Cargo.toml b/Cargo.toml
index bf2a896..35cbf7c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -80,3 +80,5 @@ toml_edit = "0.9"
@@ -80,6 +80,8 @@ toml_edit = "0.15"
twox-hash = "1.6"
# Url parsing
url = "2.2"
+
+# Use pkg-config feature of zstd
+zstd = { version = "*", features = ["pkg-config"] }
[dev-dependencies]
# Filesystems - Filesystem fixtures and assertions for testing