587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
21 lines
609 B
Nix
21 lines
609 B
Nix
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-chef";
|
|
version = "0.1.66";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
sha256 = "sha256-I4lD3+WFaW0kPmw5lPybDCRkG/at6VQH6l7pmngwoLU=";
|
|
};
|
|
|
|
cargoHash = "sha256-tSr4m10zS+/JynGmNY0+aoiYDATYwuyfr1VGKmIkHg4=";
|
|
|
|
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 ];
|
|
};
|
|
}
|