worker-build: 0.0.17 -> 0.0.18

Somewhere along the way, a git dependency was added, meaning the cargoHash no longer
worked.
This commit is contained in:
Gabriel Simmer 2023-08-28 10:09:41 +01:00 committed by Yt
parent 3d95840452
commit 1678f4ec11

View File

@ -2,16 +2,21 @@
rustPlatform.buildRustPackage rec {
pname = "worker-build";
version = "0.0.17";
version = "0.0.18";
src = fetchFromGitHub {
owner = "cloudflare";
repo = "workers-rs";
rev = "v${version}";
sha256 = "sha256-siKIE+RHAnZ8Lj3kWg7jEVo5t10dqc59OMrro26ClWo=";
sha256 = "sha256-z6m14IbMzgycwnQpA28e4taokDSVpfZOKIRmFIwLjbg=";
};
cargoHash = "sha256-j6WG8pRM6fIvMeXDdkjzRREE9tIug0w+UwWdOmPao4U=";
cargoLock = {
lockFile = "${src}/Cargo.lock";
outputHashes = {
"postgres-protocol-0.6.5" = "sha256-xLyaappu7ebtKOoHY49dvjDEcuRg8IOv1bNH9RxSUcM=";
};
};
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
@ -22,7 +27,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "This is a tool to be used as a custom build command for a Cloudflare Workers `workers-rs` project.";
homepage = "https://github.com/cloudflare/worker-rs";
homepage = "https://github.com/cloudflare/workers-rs";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ happysalada ];
};