~ruther/guix-local

ff624dbb756b37c78ea37b6d4a91935a1de3cb2d — Maxim Cournoyer 1 year, 2 months ago c6346a7
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>
1 files changed, 37 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +37 -0
@@ 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")