nixpkgs-suyu/pkgs/development/tools/rust/cargo-chef/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
577 B
Nix
Raw Normal View History

2022-12-15 06:03:48 +01:00
{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "cargo-chef";
2023-01-08 10:44:23 +01:00
version = "0.1.51";
2022-12-15 06:03:48 +01:00
src = fetchCrate {
inherit pname version;
2023-01-08 10:44:23 +01:00
sha256 = "sha256-K9oryItevSABbklaX5KKvKHuebFX8B0AgnizlpDhM5o=";
2022-12-15 06:03:48 +01:00
};
2023-01-08 10:44:23 +01:00
cargoHash = "sha256-KRhgYN8YMfotjkWAYP9RITbH9hudkakpWk53YZe9+Ks=";
2022-12-15 06:03:48 +01: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 ];
};
}