12 , hash ? "sha256-f/RK6s12ItqKJWJlA2WtOXtwX4Y0qa8bq/JHlLTAS3c="
13 , cargoHash ? "sha256-3vxVI0BhNz/9m59b+P2YEIrwGwlp7K3pyPKt4VqQuHE="
16 rustPlatform.buildRustPackage rec {
17 pname = "wasm-bindgen-cli";
18 inherit version hash cargoHash;
21 inherit pname version hash;
24 nativeBuildInputs = [ pkg-config ];
26 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ curl Security ];
28 nativeCheckInputs = [ nodejs ];
30 # tests require it to be ran in the wasm-bindgen monorepo
34 homepage = "https://rustwasm.github.io/docs/wasm-bindgen/";
35 license = with licenses; [ asl20 /* or */ mit ];
36 description = "Facilitating high-level interactions between wasm modules and JavaScript";
37 maintainers = with maintainers; [ rizary ];
38 mainProgram = "wasm-bindgen";
41 passthru.updateScript = nix-update-script { };