nixpkgs/pkgs/development/compilers/binaryen/default.nix

25 lines
637 B
Nix
Raw Normal View History

2017-06-04 03:49:46 +00:00
{ stdenv, cmake, fetchFromGitHub }:
stdenv.mkDerivation rec {
2017-06-05 13:28:14 +00:00
version = "33";
2017-06-04 03:49:46 +00:00
rev = "version_${version}";
name = "binaryen-${version}";
src = fetchFromGitHub {
owner = "WebAssembly";
repo = "binaryen";
2017-06-05 13:28:14 +00:00
sha256 = "0zijs2mcgfv0iynwdb0l4zykm0891b1zccf6r8w35ipxvcdwbsbp";
2017-06-04 03:49:46 +00:00
inherit rev;
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.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;
};
}