2022-12-28 21:21:41 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-chef";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.1.64";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-02-29 20:09:43 +00:00
|
|
|
sha256 = "sha256-TjmtL/0rr/rJPdWSjL6zD3H49Qhg6YE7irS1xjyc3OA=";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
cargoHash = "sha256-1SZZva0b7/0FGqZO4RL5gMnpG+xZwKqLU1Fgv54ewNM=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|