me
/
guix
Archived
1
0
Fork 0

gnu: Add binaryen.

* gnu/packages/web.scm (binaryen): New variable.
master
Ricardo Wurmus 2023-04-22 10:30:48 +02:00
parent 9d474e1059
commit 75cfbf1985
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 34 additions and 0 deletions

View File

@ -7952,6 +7952,40 @@ update an existing mirrored site, and resume interrupted downloads.
HTTrack is fully configurable, and has an integrated help system.")
(license license:gpl3+)))
(define-public binaryen
(package
(name "binaryen")
(version "112")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/WebAssembly/binaryen")
(commit (string-append "version_" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0970iz22yjxgi27d67kwmrx4zq7hig3i6b92vmlp4c4bd1bacny5"))))
(build-system cmake-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'use-system-googletest
(lambda _
(substitute* "third_party/CMakeLists.txt"
((" googletest/.*") "")
(("add_library\\(gtest.*") ""))
(substitute* "CMakeLists.txt"
(("add_subdirectory\\(test/gtest\\)")
"find_package(GTest REQUIRED)")))))))
(native-inputs (list googletest))
(home-page "https://github.com/WebAssembly/binaryen")
(synopsis "Optimizer and compiler/toolchain library for WebAssembly")
(description "Binaryen is a compiler and toolchain infrastructure library
for WebAssembly, written in C++. It aims to make compiling to WebAssembly
easy, fast, and effective.")
(license license:asl2.0)))
(define-public buku
(package
(name "buku")