1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/compilers/binaryen/default.nix

25 lines
637 B
Nix
Raw Normal View History

2017-06-04 04:49:46 +01:00
{ stdenv, cmake, fetchFromGitHub }:
stdenv.mkDerivation rec {
2018-02-06 04:50:02 +00:00
version = "42";
2017-06-04 04:49:46 +01:00
rev = "version_${version}";
name = "binaryen-${version}";
src = fetchFromGitHub {
owner = "WebAssembly";
repo = "binaryen";
2018-02-06 04:50:02 +00:00
sha256 = "0b8qc9cd7ncshgfjwv4hfapmwa81gmniaycnxmdkihq9bpm26x2k";
2017-06-04 04:49:46 +01: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;
};
}