guix_mirror_bot pushed a commit to branch master in repository guix. commit ff624dbb756b37c78ea37b6d4a91935a1de3cb2d Author: Maxim Cournoyer <maxim.courno...@gmail.com> AuthorDate: Fri May 30 13:58:26 2025 +0900
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 <sharlata...@gmail.ccom> Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com> --- gnu/packages/golang-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) 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")