depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-hakari/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

26 lines
942 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "cargo-hakari";
version = "0.9.16";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-V4rCtqt3HmvAtanithYAJv9FMt/g2R5JCJUwKITnoV4=";
};
cargoHash = "sha256-IGxKIgV7UtPrNAFEzKNJfPiSZ8lW2S2M7AJ7sigCWzQ=";
meta = with lib; {
description = "Manage workspace-hack packages to speed up builds in large workspaces.";
longDescription = ''
cargo hakari is a command-line application to manage workspace-hack crates.
Use it to speed up local cargo build and cargo check commands by 15-95%,
and cumulatively by 20-25% or more.
'';
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 ];
};
}