cargo-audit: 0.20.1 -> 0.21.0 (#352474)

This commit is contained in:
Peder Bergebakken Sundt
2024-11-14 02:41:43 +01:00
committed by GitHub
@@ -1,36 +1,39 @@
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, zlib
, stdenv
, Security
, SystemConfiguration
{
lib,
rustPlatform,
fetchCrate,
pkg-config,
openssl,
zlib,
stdenv,
Security,
SystemConfiguration,
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-audit";
version = "0.20.1";
version = "0.21.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-1HLs7j8opRma3WaHbqeTqG0iJOgD0688/7p/+jrNPAg=";
hash = "sha256-oMXpJE49If4QKE80ZKhRpMRPh3Bl517a2Ez/1VcaQJQ=";
};
cargoHash = "sha256-Cd8K/Y+vWWuneeE52yaYgvg9NdBqW+QjUC5XLVVIgc0=";
cargoHash = "sha256-XefJGAU3NxIyby/0lIx2xnJ00Jv1bNlKWkBe+1hapoU=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
zlib
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
Security
SystemConfiguration
];
buildInputs =
[
openssl
zlib
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
Security
SystemConfiguration
];
buildFeatures = [ "fix" ];
@@ -42,7 +45,14 @@ rustPlatform.buildRustPackage rec {
mainProgram = "cargo-audit";
homepage = "https://rustsec.org";
changelog = "https://github.com/rustsec/rustsec/blob/cargo-audit/v${version}/cargo-audit/CHANGELOG.md";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ basvandijk figsoda jk ];
license = with licenses; [
mit # or
asl20
];
maintainers = with maintainers; [
basvandijk
figsoda
jk
];
};
}