From 9d80cddfbe4995436af8946c17d54d3e0afeda54 Mon Sep 17 00:00:00 2001 From: ozwaldorf Date: Fri, 2 Aug 2024 13:24:19 -0400 Subject: [PATCH] cargo-hakari: rfc style formatting --- .../tools/rust/cargo-hakari/default.nix | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-hakari/default.nix b/pkgs/development/tools/rust/cargo-hakari/default.nix index e9edf5f8228e..c8429896be45 100644 --- a/pkgs/development/tools/rust/cargo-hakari/default.nix +++ b/pkgs/development/tools/rust/cargo-hakari/default.nix @@ -1,4 +1,8 @@ -{ lib, rustPlatform, fetchFromGitHub }: +{ + lib, + rustPlatform, + fetchFromGitHub, +}: rustPlatform.buildRustPackage rec { pname = "cargo-hakari"; @@ -13,8 +17,14 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-DkPnQcoiytIYz780veSAhPnk70qkP3QvTJJ41csUThY="; - cargoBuildFlags = [ "-p" "cargo-hakari" ]; - cargoTestFlags = [ "-p" "cargo-hakari" ]; + cargoBuildFlags = [ + "-p" + "cargo-hakari" + ]; + cargoTestFlags = [ + "-p" + "cargo-hakari" + ]; meta = with lib; { 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"; changelog = "https://github.com/guppy-rs/guppy/blob/cargo-hakari-${version}/tools/cargo-hakari/CHANGELOG.md"; - license = with licenses; [ mit asl20 ]; - maintainers = with maintainers; [ figsoda macalinao ]; + license = with licenses; [ + mit + asl20 + ]; + maintainers = with maintainers; [ + figsoda + macalinao + ]; }; }