diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-10 21:56:11 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:41:51 +0000 |
commit | f363abc15d16153bc507481822ccb2195b0ae94d (patch) | |
tree | c1202a35bb746460eb089eab7873f9a618ad317b /gnu/packages/golang-web.scm | |
parent | 79ede518d81fd6e99db0a87dd6a5a50a8e782262 (diff) |
gnu: Add go-github-com-tetratelabs-wabin.
* gnu/packages/golang-web.scm (go-github-com-tetratelabs-wabin): New variable.
Change-Id: I9f0d88de247d6f1843c00019d02f578e09147c93
Diffstat (limited to 'gnu/packages/golang-web.scm')
-rw-r--r-- | gnu/packages/golang-web.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index e9d0296ab9..16e6682afa 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -5833,6 +5833,41 @@ an interface to implement any other minifier.") "This package contains several lexers and parsers written in Go.") (license license:expat))) +(define-public go-github-com-tetratelabs-wabin + (package + (name "go-github-com-tetratelabs-wabin") + (version "0.0.0-20230304001439-f6f874872834") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tetratelabs/wabin") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "195bh4n2ba3rbgzcb1h7zi93dr0k38qxhg8m0laa0z41vl9i0igm")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/tetratelabs/wabin" + #:phases + #~(modify-phases %standard-phases + ;; XXX: Replace when go-build-system supports nested path. + (delete 'build) + (replace 'check + (lambda* (#:key import-path tests? #:allow-other-keys) + (when tests? + (with-directory-excursion (string-append "src/" import-path) + (invoke "go" "test" "-v" "./...")))))))) + (native-inputs + (list go-github-com-stretchr-testify)) + (home-page "https://github.com/tetratelabs/wabin") + (synopsis "WebAssembly Binary Format in Go") + (description + "This package provides @code{WebAssembly} a @code{WebAssembly} data model +and binary encoder.") + (license license:asl2.0))) + (define-public go-github-com-tv42-httpunix (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22") (revision "0")) |