ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
21 lines
609 B
Nix
21 lines
609 B
Nix
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-chef";
|
|
version = "0.1.66";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
sha256 = "sha256-I4lD3+WFaW0kPmw5lPybDCRkG/at6VQH6l7pmngwoLU=";
|
|
};
|
|
|
|
cargoHash = "sha256-tSr4m10zS+/JynGmNY0+aoiYDATYwuyfr1VGKmIkHg4=";
|
|
|
|
meta = with lib; {
|
|
description = "A cargo-subcommand to speed up Rust Docker builds using Docker layer caching";
|
|
mainProgram = "cargo-chef";
|
|
homepage = "https://github.com/LukeMathWalker/cargo-chef";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kkharji ];
|
|
};
|
|
}
|