889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
27 lines
693 B
Nix
27 lines
693 B
Nix
{ lib, stdenv, cmake, python3, fetchFromGitHub, emscripten }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "binaryen";
|
|
version = "105";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "WebAssembly";
|
|
repo = "binaryen";
|
|
rev = "version_${version}";
|
|
sha256 = "0yg9rarjv1gfbq225cj9hnbgx99n5az2m19qwfp8z41dwhh71igm";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake python3 ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/WebAssembly/binaryen";
|
|
description = "Compiler infrastructure and toolchain library for WebAssembly, in C++";
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ asppsa ];
|
|
license = licenses.asl20;
|
|
};
|
|
|
|
passthru.tests = {
|
|
inherit emscripten;
|
|
};
|
|
}
|