1 { lib, stdenv, cmake, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "07zzmk776j8ydyxhrnnjiscbhhmz182a62r6aix6kfk5kq2cwia2";
14 nativeBuildInputs = [ cmake ];
22 install -Dm755 wasm3 -t $out/bin
27 homepage = "https://github.com/wasm3/wasm3";
28 description = "The fastest WebAssembly interpreter, and the most universal runtime.";
29 platforms = platforms.all;
30 maintainers = with maintainers; [ malbarbo ];
31 license = licenses.mit;
32 knownVulnerabilities = [
33 # wasm3 expects all wasm code to be pre-validated, any users
34 # should be aware that running unvalidated wasm will potentially
35 # lead to RCE until upstream have added a builtin validator