Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 llvmPackages, 4 fetchFromGitHub, 5 cmake, 6}: 7 8llvmPackages.stdenv.mkDerivation (finalAttrs: { 9 pname = "wavm"; 10 version = "2022-05-14"; 11 12 src = fetchFromGitHub { 13 owner = "WAVM"; 14 repo = "WAVM"; 15 rev = "nightly/${finalAttrs.version}"; 16 hash = "sha256-SHz+oOOkwvVZucJYFSyZc3MnOAy1VatspmZmOAXYAWA="; 17 }; 18 19 nativeBuildInputs = [ 20 cmake 21 llvmPackages.llvm 22 ]; 23 24 meta = with lib; { 25 description = "WebAssembly Virtual Machine"; 26 mainProgram = "wavm"; 27 homepage = "https://wavm.github.io"; 28 license = licenses.bsd3; 29 maintainers = with maintainers; [ ereslibre ]; 30 platforms = platforms.unix; 31 }; 32})