24 lines
631 B
Nix
Raw Normal View History

2020-08-28 20:46:26 +02:00
{ stdenv, cmake, python3, fetchFromGitHub }:
2017-06-04 13:49:46 +10:00
stdenv.mkDerivation rec {
pname = "binaryen";
2020-08-28 20:46:26 +02:00
version = "95";
2017-06-04 13:49:46 +10:00
src = fetchFromGitHub {
owner = "WebAssembly";
repo = "binaryen";
2020-08-28 20:46:26 +02:00
rev = "version_${version}";
sha256 = "1w4js9bm5qv5aws8bzz4f0n3ni2l7h4fidkq9v5bldf0zxncy8m3";
2017-06-04 13:49:46 +10:00
};
nativeBuildInputs = [ cmake python3 ];
2017-06-04 13:49:46 +10:00
meta = with stdenv.lib; {
homepage = "https://github.com/WebAssembly/binaryen";
2017-06-04 13:49:46 +10:00
description = "Compiler infrastructure and toolchain library for WebAssembly, in C++";
platforms = platforms.all;
maintainers = with maintainers; [ asppsa ];
license = licenses.asl20;
};
}