cargo-audit: nixfmt

This commit is contained in:
Noa Aarts 2024-10-30 23:09:26 +01:00
parent 8bd8770705
commit 6cdaa97079
No known key found for this signature in database
GPG Key ID: 1850932741EFF672

View File

@ -1,12 +1,13 @@
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, zlib
, stdenv
, Security
, SystemConfiguration
{
lib,
rustPlatform,
fetchCrate,
pkg-config,
openssl,
zlib,
stdenv,
Security,
SystemConfiguration,
}:
rustPlatform.buildRustPackage rec {
@ -24,13 +25,15 @@ rustPlatform.buildRustPackage rec {
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
];
};
}