depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-hakari/default.nix
Default email 1be0098156 Project import generated by Copybara.
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
2022-11-04 13:27:35 +01:00

26 lines
942 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "cargo-hakari";
version = "0.9.15";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-jPvQKc5jDWHIOmJPpgsR9usYzjjCKlSL04N6Opgyiac=";
};
cargoHash = "sha256-tmBgmIwFW/0+WQUEJFf6rFtRhoGn41BvZUIng8MsxQM=";
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 ];
};
}