12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-CN1LcLX7ag+in9sosT2NYVKfhDLGv2m3zHOk2T4MFYc=";
23 cargoHash = "sha256-RdBnW8HKSgjVnyafycGFTSTc5j1A9WRDvUuZu8upRWY=";
30 buildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security ++ [
34 # Most tests rely on external resources and build artifacts.
35 # Disabling check here to work with build sandboxing.
39 description = "Utility that builds rust-generated WebAssembly package";
40 mainProgram = "wasm-pack";
41 homepage = "https://github.com/rustwasm/wasm-pack";
42 license = with licenses; [
46 maintainers = [ maintainers.dhkl ];