cargo-about: nixfmt-rfc-style

This commit is contained in:
Raghav Sood 2024-05-14 00:02:14 +08:00
parent 7325d7ec2d
commit b9bccd8f4a
No known key found for this signature in database
GPG Key ID: 13D53E9EB65DE19C

View File

@ -1,10 +1,11 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, zstd
, stdenv
, darwin
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
zstd,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
@ -22,9 +23,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ zstd ] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
buildInputs = [ zstd ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
env = {
ZSTD_SYS_USE_PKG_CONFIG = true;
@ -34,8 +33,15 @@ rustPlatform.buildRustPackage rec {
description = "Cargo plugin to generate list of all licenses for a crate";
homepage = "https://github.com/EmbarkStudios/cargo-about";
changelog = "https://github.com/EmbarkStudios/cargo-about/blob/${version}/CHANGELOG.md";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ evanjs figsoda matthiasbeyer ];
license = with licenses; [
mit # or
asl20
];
maintainers = with maintainers; [
evanjs
figsoda
matthiasbeyer
];
mainProgram = "cargo-about";
};
}