From 6cdaa970796abda50fb7bc07e9f3c2c7cde7b13b Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Wed, 30 Oct 2024 23:09:26 +0100 Subject: [PATCH] cargo-audit: nixfmt --- .../tools/rust/cargo-audit/default.nix | 46 +++++++++++-------- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-audit/default.nix b/pkgs/development/tools/rust/cargo-audit/default.nix index dcaa159863c6..7368e2fa9ca6 100644 --- a/pkgs/development/tools/rust/cargo-audit/default.nix +++ b/pkgs/development/tools/rust/cargo-audit/default.nix @@ -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 + ]; }; }