7 rustPlatform.buildRustPackage rec {
11 src = fetchFromGitHub {
15 sha256 = "sha256-hbY+epUtYSQrvnAbCELsVcqd3UoXGn24FkzWfrM0K14=";
18 # A lock file isn't provided, so it must be added manually.
19 cargoLock.lockFile = ./Cargo.lock;
21 cp ${./Cargo.lock} Cargo.lock
24 # Not all of the tests pass.
27 # These binaries are tests and should be removed.
29 rm $out/bin/{luajit,luau}_translate
33 description = "WebAssembly translation tools for various languages";
35 Wasynth provides the following WebAssembly translation tools:
36 * wasm2luajit: translate WebAssembly to LuaJIT source code
37 * wasm2luau: translate WebAssembly Luau source code
39 homepage = "https://github.com/Rerumu/Wasynth";
40 license = with licenses; [ gpl3Only ];
41 maintainers = with maintainers; [ wackbyte ];