3
0
Fork 0
forked from mirrors/nixpkgs

cargo-chef: init at 0.1.50

This commit is contained in:
kkharji 2022-12-15 08:03:48 +03:00
parent ba3a096704
commit 56472fc512
No known key found for this signature in database
GPG key ID: 1309A1B0B4A9ECAE
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "cargo-chef";
version = "0.1.50";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-d467uk4UCtAKcpFYODxIhRrYoIOHzxhoaJVMA9ErRAw=";
};
cargoSha256 = "sha256-5xj4/uxuMhlqY1ncrMU1IFWdVB4ZjHVXg0ZbRXDvIak=";
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 ];
};
}

View file

@ -15312,6 +15312,7 @@ with pkgs;
cargo-cache = callPackage ../development/tools/rust/cargo-cache {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-chef = callPackage ../development/tools/rust/cargo-chef { };
cargo-crev = callPackage ../development/tools/rust/cargo-crev {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration CoreFoundation;
};