7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
21 lines
605 B
Nix
21 lines
605 B
Nix
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-chef";
|
|
version = "0.1.68";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-NTFrNSEIzHppwOOjI3VadjhdV6EgGUmJzyX5JmTsJoI=";
|
|
};
|
|
|
|
cargoHash = "sha256-DoIkK/tj3AYt0vm7u7f4SmgOKbdQZv3ZunMFT68+37E=";
|
|
|
|
meta = with lib; {
|
|
description = "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 ];
|
|
};
|
|
}
|