2022-11-04 12:27:35 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-hakari";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "0.9.17";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-12-17 10:02:37 +00:00
|
|
|
sha256 = "sha256-FgG9sdXZhSlX4p3I9WL5ORN7FCg4Zgt/Y+GRCWhIoP8=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
cargoHash = "sha256-pYjjiQUnBfZ9wQgXhm4c+A7zMAF9k/Mzl5ccPX407/A=";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
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";
|
2022-11-04 12:27:35 +00:00
|
|
|
changelog = "https://github.com/guppy-rs/guppy/blob/cargo-hakari-${version}/tools/cargo-hakari/CHANGELOG.md";
|
2022-09-09 14:08:57 +00:00
|
|
|
license = with licenses; [ mit asl20 ];
|
2022-11-04 12:27:35 +00:00
|
|
|
maintainers = with maintainers; [ figsoda macalinao ];
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
}
|