2022-12-28 21:21:41 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-chef";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "0.1.68";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-09-26 11:04:55 +00:00
|
|
|
hash = "sha256-NTFrNSEIzHppwOOjI3VadjhdV6EgGUmJzyX5JmTsJoI=";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
cargoHash = "sha256-DoIkK/tj3AYt0vm7u7f4SmgOKbdQZv3ZunMFT68+37E=";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Cargo-subcommand to speed up Rust Docker builds using Docker layer caching";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cargo-chef";
|
2022-12-28 21:21:41 +00:00
|
|
|
homepage = "https://github.com/LukeMathWalker/cargo-chef";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kkharji ];
|
|
|
|
};
|
|
|
|
}
|