Merge pull request #206068 from kkharji/feat/add-cargo-chef

cargo-chef: init at 0.1.50
This commit is contained in:
Artturi 2022-12-17 21:48:31 +02:00 committed by GitHub
commit 9bf8bec341
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 0 deletions

View file

@ -15923,6 +15923,12 @@
github = "kuwii";
githubId = 10705175;
};
kkharji = {
name = "kkharji";
email = "kkharji@protonmail.com";
github = "kkharji";
githubId = 65782666;
};
melias122 = {
name = "Martin Elias";
email = "martin+nixpkgs@elias.sx";

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

@ -15328,6 +15328,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;
};