worker-build: 0.0.18 -> 0.5.0 (#389358)

This commit is contained in:
Yt
2025-03-12 20:36:03 -04:00
committed by GitHub
3 changed files with 10 additions and 2434 deletions
File diff suppressed because it is too large Load Diff
@@ -1,44 +1,37 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
Security,
}:
rustPlatform.buildRustPackage rec {
pname = "worker-build";
version = "0.0.18";
version = "0.5.0";
src = fetchFromGitHub {
owner = "cloudflare";
repo = "workers-rs";
rev = "v${version}";
hash = "sha256-z6m14IbMzgycwnQpA28e4taokDSVpfZOKIRmFIwLjbg=";
tag = "v${version}";
hash = "sha256-eMuuEqHBiwgz7DKimYuK9MUPT4vnOU8rLOIIq8zsTao=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"postgres-protocol-0.6.5" = "sha256-xLyaappu7ebtKOoHY49dvjDEcuRg8IOv1bNH9RxSUcM=";
};
};
useFetchCargoVendor = true;
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
cargoHash = "sha256-yzuyenWAdj5tEdUFGxSfBU4m3w1YCCrnbajPMYMGSkI=";
buildAndTestSubdir = "worker-build";
# missing some module upstream to run the tests
doCheck = false;
meta = with lib; {
description = "This is a tool to be used as a custom build command for a Cloudflare Workers `workers-rs` project";
meta = {
description = "Tool to be used as a custom build command for a Cloudflare Workers `workers-rs` project";
mainProgram = "worker-build";
homepage = "https://github.com/cloudflare/workers-rs";
license = with licenses; [
license = with lib.licenses; [
asl20 # or
mit
];
maintainers = with maintainers; [ happysalada ];
maintainers = with lib.maintainers; [ happysalada ];
};
}
+1 -3
View File
@@ -3151,9 +3151,7 @@ with pkgs;
vorta = qt6Packages.callPackage ../applications/backup/vorta { };
worker-build = callPackage ../development/tools/worker-build {
inherit (darwin.apple_sdk.frameworks) Security;
};
worker-build = callPackage ../development/tools/worker-build { };
wrangler_1 = callPackage ../development/tools/wrangler_1 {
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security;