depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-chef/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

20 lines
579 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "cargo-chef";
version = "0.1.50";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-d467uk4UCtAKcpFYODxIhRrYoIOHzxhoaJVMA9ErRAw=";
};
cargoSha256 = "sha256-5xj4/uxuMhlqY1ncrMU1IFWdVB4ZjHVXg0ZbRXDvIak=";
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 ];
};
}