Merge pull request #290190 from cafkafk/fix-cargo-audit

cargo-audit: 0.18.3 -> 0.19.0
This commit is contained in:
Sarah Brofeldt 2024-02-21 18:07:58 +01:00 committed by GitHub
commit 591f9cbebe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 6 deletions

View File

@ -2,34 +2,36 @@
, rustPlatform
, fetchCrate
, pkg-config
, libgit2_1_5
, libgit2
, openssl
, zlib
, stdenv
, Security
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-audit";
version = "0.18.3";
version = "0.19.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-8KLH6aPZhHtxC4hbMaebv1JiVkZH8p5QqnUXkJrmr4w=";
hash = "sha256-NPRtSoITOS9i/v9hgdULVSmLaFbXZZeoO4SdqqANDxk=";
};
cargoHash = "sha256-8MOZvhREm4ch2flstx7J25j8mvwV3uGez5f1xkZ+S7I=";
cargoHash = "sha256-cQ2ZEZJ7PgNUxzZXR9Of1R5v2wu1b3xOlENu1DZU/rQ=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libgit2_1_5
libgit2
openssl
zlib
] ++ lib.optionals stdenv.isDarwin [
Security
SystemConfiguration
];
buildFeatures = [ "fix" ];

View File

@ -16875,7 +16875,7 @@ with pkgs;
cargo-all-features = callPackage ../development/tools/rust/cargo-all-features { };
cargo-apk = callPackage ../development/tools/rust/cargo-apk { };
cargo-audit = callPackage ../development/tools/rust/cargo-audit {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
cargo-benchcmp = callPackage ../development/tools/rust/cargo-benchcmp { };
cargo-binstall = callPackage ../development/tools/rust/cargo-binstall { };