2022-12-28 21:21:41 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-chef";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "0.1.62";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-08-22 20:05:09 +00:00
|
|
|
sha256 = "sha256-ZewsR6MgBf8wdqBIrYAuprmqthhbEA/WDShp9H3jfDs=";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
cargoHash = "sha256-UHUNoI9QqHzgYIuKlj0giWfFgS+F3eUC/wuAXgwH2xQ=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|