1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 12:00:35 +02:00

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>
This commit is contained in:
Maxim Cournoyer 2025-05-30 13:58:26 +09:00 committed by Sharlatan Hellseher
parent c6346a7cae
commit ff624dbb75
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -15012,6 +15012,43 @@ that have often been designed to work on arrays of values, which is where SIMD
and branchless algorithms shine.") and branchless algorithms shine.")
(license license:expat))) (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 (define-public go-github-com-sereal-sereal-go-sereal
(package (package
(name "go-github-com-sereal-sereal-go-sereal") (name "go-github-com-sereal-sereal-go-sereal")