6 rustPlatform.buildRustPackage rec {
10 src = fetchFromGitHub {
11 owner = "bytecodealliance";
14 hash = "sha256-ZnMQpIfKN6ByEZasvy+UM12ZBsrhTM1s3TN1dF/3YMY=";
17 cargoHash = "sha256-eF1qJ0fH3ODG1u9tUD3dj/2i7+0BJ4fJPlaYjS3XiGU=";
19 # Some tests fail because they need network access to install the `wasm32-unknown-unknown` target.
20 # However, GitHub Actions ensures a proper build.
22 # https://github.com/bytecodealliance/wit-bindgen/actions
23 # https://github.com/bytecodealliance/wit-bindgen/blob/main/.github/workflows/main.yml
27 description = "Language binding generator for WebAssembly interface types";
28 homepage = "https://github.com/bytecodealliance/wit-bindgen";
29 license = licenses.asl20;
30 maintainers = with maintainers; [ xrelkd ];
31 mainProgram = "wit-bindgen";