depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-chef/default.nix
Default email 6d4aeb4377 Project import generated by Copybara.
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
2023-01-11 08:51:40 +01:00

20 lines
577 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "cargo-chef";
version = "0.1.51";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-K9oryItevSABbklaX5KKvKHuebFX8B0AgnizlpDhM5o=";
};
cargoHash = "sha256-KRhgYN8YMfotjkWAYP9RITbH9hudkakpWk53YZe9+Ks=";
meta = with lib; {
description = "A cargo-subcommand to speed up Rust Docker builds using Docker layer caching";
homepage = "https://github.com/LukeMathWalker/cargo-chef";
license = licenses.mit;
maintainers = with maintainers; [ kkharji ];
};
}