2022-12-28 21:21:41 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-chef";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.1.59";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-96KfjxpFw1uNejN917KMX98zxzJmozMiS99Aex2w4tM=";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
cargoHash = "sha256-t4MuazMC8VJLj2SwY/crkd2W/ioRkdjvL5ZWiCp+7tE=";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|