Unverified Commit 6cdaa970 authored by Noa Aarts's avatar Noa Aarts
Browse files

cargo-audit: nixfmt

parent 8bd87707
Loading
Loading
Loading
Loading
+28 −18
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, zlib
, stdenv
, Security
, SystemConfiguration
{
  lib,
  rustPlatform,
  fetchCrate,
  pkg-config,
  openssl,
  zlib,
  stdenv,
  Security,
  SystemConfiguration,
}:

rustPlatform.buildRustPackage rec {
@@ -24,10 +25,12 @@ rustPlatform.buildRustPackage rec {
    pkg-config
  ];

  buildInputs = [
  buildInputs =
    [
      openssl
      zlib
  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      Security
      SystemConfiguration
    ];
@@ -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
    ];
  };
}