mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
2010c1dea4
Diff: https://github.com/guppy-rs/guppy/compare/cargo-hakari-0.9.26...cargo-hakari-0.9.27 Changelog: https://github.com/guppy-rs/guppy/blob/cargo-hakari-0.9.27/tools/cargo-hakari/CHANGELOG.md
32 lines
1.1 KiB
Nix
32 lines
1.1 KiB
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-hakari";
|
|
version = "0.9.27";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "guppy-rs";
|
|
repo = "guppy";
|
|
rev = "cargo-hakari-${version}";
|
|
sha256 = "sha256-H2vU7qax0P8Ulh1/DHnlmGRqSqzLuRy9TZOvikSLONw=";
|
|
};
|
|
|
|
cargoHash = "sha256-fRaGtQc9CA5A6fQ1yj5zsg1Qv42yIi8ZlIcp4o5cNBU=";
|
|
|
|
cargoBuildFlags = [ "-p" "cargo-hakari" ];
|
|
cargoTestFlags = [ "-p" "cargo-hakari" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|