diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2025-05-30 13:58:26 +0900 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-10 12:31:49 +0100 |
commit | ff624dbb756b37c78ea37b6d4a91935a1de3cb2d (patch) | |
tree | aedea6177d782016a932ca0156d6f75a0cc3a0e5 | |
parent | c6346a7caeaf84dbe1a3a6f5c230b1400e7ddc53 (diff) |
gnu: Add go-github-com-segmentio-encoding.
* gnu/packages/golang-xyz.scm (go-github-com-segmentio-encoding): New variable.
Change-Id: I8eab7fbc73fbe9b5546817b97c04f87618d36236
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.ccom>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r-- | gnu/packages/golang-xyz.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 7d60a38497..35cca4baf6 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -15012,6 +15012,43 @@ that have often been designed to work on arrays of values, which is where SIMD and branchless algorithms shine.") (license license:expat))) +(define-public go-github-com-segmentio-encoding + (package + (name "go-github-com-segmentio-encoding") + (version "0.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/segmentio/encoding") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gk2ry6s20h4j5gvl9vf83wi3badphnnzh6fhxfx3r24pbg7c2dx")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Submodules with their own go.mod files and packaged separately: + ;; + ;; - github.com/segmentio/encoding/benchmarks + ;; - github.com/segmentio/encoding/proto/fixtures + (for-each delete-file-recursively + (list "benchmarks" "proto/fixtures")))))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "github.com/segmentio/encoding" + #:test-flags #~(list "-skip" "TestUnmarshalFixture|TestDecodeFixture"))) + (propagated-inputs + (list go-github-com-segmentio-asm)) + (home-page "https://github.com/segmentio/encoding") + (synopsis "Encoding and decoding Go library") + (description + "Go package containing implementations of encoders and decoders for +various data formats.") + (license license:expat))) + (define-public go-github-com-sereal-sereal-go-sereal (package (name "go-github-com-sereal-sereal-go-sereal") |