2022-12-28 21:21:41 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-chef";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.1.61";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-O3q0gfVnFMgcwWGfRgdGOwU6fauRN2qPkyTe72p3zS4=";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
cargoHash = "sha256-A22x2s5tHf9M6UbFHwmVNgO2qe65io/GysF1+ZE8NXM=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|