depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-chef/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

21 lines
609 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "cargo-chef";
version = "0.1.67";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-5bvA3lss+F2Wx0SSx5KRCmpERdIXUkUhFP+zRn8aZH0=";
};
cargoHash = "sha256-EIpi1k5GffGCk+fzHSW32T+ZLkRfswnEGZdER95TyBk=";
meta = with lib; {
description = "A cargo-subcommand to speed up Rust Docker builds using Docker layer caching";
mainProgram = "cargo-chef";
homepage = "https://github.com/LukeMathWalker/cargo-chef";
license = licenses.mit;
maintainers = with maintainers; [ kkharji ];
};
}