mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
binaryen: add package
This commit is contained in:
parent
f270376cd7
commit
a8c48bb68b
24
pkgs/development/compilers/binaryen/default.nix
Normal file
24
pkgs/development/compilers/binaryen/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, cmake, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "32";
|
||||
rev = "version_${version}";
|
||||
name = "binaryen-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "WebAssembly";
|
||||
repo = "binaryen";
|
||||
sha256 = "0zclw6pa2pkzrnp8ib9qwbjvq38r2h5ynfg8fjl99b5lcyz5m590";
|
||||
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;
|
||||
};
|
||||
}
|
@ -5014,6 +5014,8 @@ with pkgs;
|
||||
stdenv = overrideCC stdenv gcc49;
|
||||
};
|
||||
|
||||
binaryen = callPackage ../development/compilers/binaryen { };
|
||||
|
||||
boo = callPackage ../development/compilers/boo {
|
||||
inherit (gnome2) gtksourceview;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user