nixpkgs/pkgs/development/interpreters/wavm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
607 B
Nix
Raw Normal View History

2023-03-29 17:41:26 +00:00
{ lib
, llvmPackages
, fetchFromGitHub
, cmake
}:
2023-06-09 23:05:16 +00:00
llvmPackages.stdenv.mkDerivation (finalAttrs: {
2023-03-29 17:41:26 +00:00
pname = "wavm";
version = "2022-05-14";
src = fetchFromGitHub {
owner = "WAVM";
repo = "WAVM";
2023-06-09 23:05:16 +00:00
rev = "nightly/${finalAttrs.version}";
2023-03-29 17:41:26 +00:00
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 ];
2023-12-13 15:46:55 +00:00
platforms = platforms.unix;
2023-03-29 17:41:26 +00:00
};
2023-06-09 23:05:16 +00:00
})