summary refs log tree commit diff
path: root/pkgs/development/compilers/binaryen
diff options
context:
space:
mode:
authorAlastair Pharo <asppsa@gmail.com>2017-06-04 13:49:46 +1000
committerAlastair Pharo <asppsa@gmail.com>2017-06-04 13:49:46 +1000
commita8c48bb68b955e3552b8d7515f20f08e224c1509 (patch)
tree9020350cf63b79521d744b6c4c259a5a9affaab3 /pkgs/development/compilers/binaryen
parentf270376cd771ce6b97317d5bee56cf75e57fe50d (diff)
downloadnixpkgs-a8c48bb68b955e3552b8d7515f20f08e224c1509.tar
nixpkgs-a8c48bb68b955e3552b8d7515f20f08e224c1509.tar.gz
nixpkgs-a8c48bb68b955e3552b8d7515f20f08e224c1509.tar.bz2
nixpkgs-a8c48bb68b955e3552b8d7515f20f08e224c1509.tar.lz
nixpkgs-a8c48bb68b955e3552b8d7515f20f08e224c1509.tar.xz
nixpkgs-a8c48bb68b955e3552b8d7515f20f08e224c1509.tar.zst
nixpkgs-a8c48bb68b955e3552b8d7515f20f08e224c1509.zip
binaryen: add package
Diffstat (limited to 'pkgs/development/compilers/binaryen')
-rw-r--r--pkgs/development/compilers/binaryen/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/compilers/binaryen/default.nix b/pkgs/development/compilers/binaryen/default.nix
new file mode 100644
index 00000000000..31f5845cc86
--- /dev/null
+++ b/pkgs/development/compilers/binaryen/default.nix
@@ -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;
+  };
+}