9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
26 lines
575 B
Nix
26 lines
575 B
Nix
{ lib
|
|
, llvmPackages
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
llvmPackages.stdenv.mkDerivation (finalAttrs: {
|
|
pname = "wavm";
|
|
version = "2022-05-14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "WAVM";
|
|
repo = "WAVM";
|
|
rev = "nightly/${finalAttrs.version}";
|
|
hash = "sha256-SHz+oOOkwvVZucJYFSyZc3MnOAy1VatspmZmOAXYAWA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake llvmPackages.llvm ];
|
|
|
|
meta = with lib; {
|
|
description = "WebAssembly Virtual Machine";
|
|
homepage = "https://wavm.github.io";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ereslibre ];
|
|
};
|
|
})
|