cargo-hakari: rfc style formatting

This commit is contained in:
ozwaldorf 2024-08-02 13:24:19 -04:00
parent 6b5fd20954
commit 9d80cddfbe
No known key found for this signature in database

View File

@ -1,4 +1,8 @@
{ lib, rustPlatform, fetchFromGitHub }: {
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-hakari"; pname = "cargo-hakari";
@ -13,8 +17,14 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-DkPnQcoiytIYz780veSAhPnk70qkP3QvTJJ41csUThY="; cargoHash = "sha256-DkPnQcoiytIYz780veSAhPnk70qkP3QvTJJ41csUThY=";
cargoBuildFlags = [ "-p" "cargo-hakari" ]; cargoBuildFlags = [
cargoTestFlags = [ "-p" "cargo-hakari" ]; "-p"
"cargo-hakari"
];
cargoTestFlags = [
"-p"
"cargo-hakari"
];
meta = with lib; { meta = with lib; {
description = "Manage workspace-hack packages to speed up builds in large workspaces"; description = "Manage workspace-hack packages to speed up builds in large workspaces";
@ -26,7 +36,13 @@ rustPlatform.buildRustPackage rec {
''; '';
homepage = "https://crates.io/crates/cargo-hakari"; homepage = "https://crates.io/crates/cargo-hakari";
changelog = "https://github.com/guppy-rs/guppy/blob/cargo-hakari-${version}/tools/cargo-hakari/CHANGELOG.md"; changelog = "https://github.com/guppy-rs/guppy/blob/cargo-hakari-${version}/tools/cargo-hakari/CHANGELOG.md";
license = with licenses; [ mit asl20 ]; license = with licenses; [
maintainers = with maintainers; [ figsoda macalinao ]; mit
asl20
];
maintainers = with maintainers; [
figsoda
macalinao
];
}; };
} }