gnu: Add go-github-com-fxamacker-cbor-v2.

* gnu/packages/golang-xyz.scm (go-github-com-fxamacker-cbor-v2): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I19e13404586613fd4629c35f50264120df264c6b
This commit is contained in:
Rodion Goritskov 2024-07-03 23:30:22 +01:00 committed by Sharlatan Hellseher
parent 1ff5daf53b
commit 71161e697e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1912,6 +1912,36 @@ (define-public go-github-com-flynn-archive-go-shlex
(home-page "https://github.com/flynn-archive/go-shlex") (home-page "https://github.com/flynn-archive/go-shlex")
(license license:asl2.0)))) (license license:asl2.0))))
(define-public go-github-com-fxamacker-cbor-v2
(package
(name "go-github-com-fxamacker-cbor-v2")
(version "2.7.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fxamacker/cbor")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "039lk7n5155gy2sh55i1darcvxhv9fim2xmnvmx0xi9ihnrnczln"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/fxamacker/cbor/v2"))
(propagated-inputs
(list go-github-com-x448-float16))
(home-page "https://github.com/fxamacker/cbor")
(synopsis "CBOR Codec in Golang")
(description
"This package implements functionality for encoding and decoding
@acronym{Concise Binary Object
Representation,CBOR} (@url{https://www.rfc-editor.org/rfc/rfc8949.html,RFC
8949}) and CBOR Sequences, with CBOR tags, Golang struct tags (@code{toarray},
@code{keyasint}, @code{omitempty}), @code{float64/32/16}, and
@code{big.Intp}.")
(license license:expat)))
(define-public go-github-com-gabriel-vasile-mimetype (define-public go-github-com-gabriel-vasile-mimetype
(package (package
(name "go-github-com-gabriel-vasile-mimetype") (name "go-github-com-gabriel-vasile-mimetype")