From 8ae262c0d5da55ea13383310482e867f118abab8 Mon Sep 17 00:00:00 2001 From: Andrew Plaza Date: Tue, 16 Sep 2025 11:29:40 -0400 Subject: [PATCH 1/2] maintainers: add insipx (cherry picked from commit 382c96146adda6e7388a735d02f0109916e560da) --- maintainers/maintainer-list.nix | 7 +++++++ pkgs/build-support/wasm-bindgen-cli/default.nix | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 1215ed444089..c23bc34dc791 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -10686,6 +10686,13 @@ githubId = 54999; name = "Ariel Nunez"; }; + insipx = { + email = "github@andrewplaza.dev"; + github = "insipx"; + githubId = 6452260; + name = "Andrew Plaza"; + keys = [ { fingerprint = "843D 72A9 EB79 A869 2C58 5B3A E773 8A7A 0F5C DB89"; } ]; + }; interdependence = { email = "git@williamvandervalk.com"; github = "interdependence"; diff --git a/pkgs/build-support/wasm-bindgen-cli/default.nix b/pkgs/build-support/wasm-bindgen-cli/default.nix index 112e999323ed..feb51f88313c 100644 --- a/pkgs/build-support/wasm-bindgen-cli/default.nix +++ b/pkgs/build-support/wasm-bindgen-cli/default.nix @@ -44,7 +44,10 @@ rustPlatform.buildRustPackage { mit ]; description = "Facilitating high-level interactions between wasm modules and JavaScript"; - maintainers = with lib.maintainers; [ rizary ]; + maintainers = with lib.maintainers; [ + rizary + insipx + ]; mainProgram = "wasm-bindgen"; }; } From 7c204a8db4339e5f5df71397749c956bc90848a6 Mon Sep 17 00:00:00 2001 From: Andrew Plaza Date: Mon, 15 Sep 2025 11:07:33 -0400 Subject: [PATCH 2/2] wasm-bindgen-cli_0_2_104: init at 0.2.104 wasmbindgen requires a exact match between the cli version and the library version, generally that isn't that bad as it should always be safe to update to the latest patch version of a library (but ofc when reproduciblity and outdated lock files are in the mix that complicates stuff, which is why I assume multiple versions are kept) It's a case of upgrading a patch version technically being breaking change unless you also update the library versions alongside it. (cherry picked from commit 08dd663b9be560bcf6775c613cac7cf22722d740) --- .../wasm-bindgen-cli/default.nix | 2 +- .../wa/wasm-bindgen-cli_0_2_104/package.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 pkgs/by-name/wa/wasm-bindgen-cli_0_2_104/package.nix diff --git a/pkgs/build-support/wasm-bindgen-cli/default.nix b/pkgs/build-support/wasm-bindgen-cli/default.nix index feb51f88313c..c4688dfec76e 100644 --- a/pkgs/build-support/wasm-bindgen-cli/default.nix +++ b/pkgs/build-support/wasm-bindgen-cli/default.nix @@ -38,7 +38,7 @@ rustPlatform.buildRustPackage { passthru.updateScript = nix-update-script { }; meta = { - homepage = "https://rustwasm.github.io/docs/wasm-bindgen/"; + homepage = "https://wasm-bindgen.github.io/wasm-bindgen/"; license = with lib.licenses; [ asl20 # or mit diff --git a/pkgs/by-name/wa/wasm-bindgen-cli_0_2_104/package.nix b/pkgs/by-name/wa/wasm-bindgen-cli_0_2_104/package.nix new file mode 100644 index 000000000000..6cf00848f144 --- /dev/null +++ b/pkgs/by-name/wa/wasm-bindgen-cli_0_2_104/package.nix @@ -0,0 +1,19 @@ +{ + buildWasmBindgenCli, + fetchCrate, + rustPlatform, +}: + +buildWasmBindgenCli rec { + src = fetchCrate { + pname = "wasm-bindgen-cli"; + version = "0.2.104"; + hash = "sha256-9kW+a7IreBcZ3dlUdsXjTKnclVW1C1TocYfY8gUgewE="; + }; + + cargoDeps = rustPlatform.fetchCargoVendor { + inherit src; + inherit (src) pname version; + hash = "sha256-V0AV5jkve37a5B/UvJ9B3kwOW72vWblST8Zxs8oDctE="; + }; +}