1{ stdenv, cmake, fetchFromGitHub }:
2
3stdenv.mkDerivation rec {
4 version = "33";
5 rev = "version_${version}";
6 name = "binaryen-${version}";
7
8 src = fetchFromGitHub {
9 owner = "WebAssembly";
10 repo = "binaryen";
11 sha256 = "0zijs2mcgfv0iynwdb0l4zykm0891b1zccf6r8w35ipxvcdwbsbp";
12 inherit rev;
13 };
14
15 nativeBuildInputs = [ cmake ];
16
17 meta = with stdenv.lib; {
18 homepage = https://github.com/WebAssembly/binaryen;
19 description = "Compiler infrastructure and toolchain library for WebAssembly, in C++";
20 platforms = platforms.all;
21 maintainers = with maintainers; [ asppsa ];
22 license = licenses.asl20;
23 };
24}