From 3616848c3e416429125de59ab10e01bdc275ec2e Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 9 Oct 2025 21:40:11 +0100 Subject: [PATCH] gnu: Add go-github-com-hashicorp-go-msgpack-v2. * gnu/packages/golang-xyz.scm (go-github-com-hashicorp-go-msgpack-v2): New variable. Change-Id: I673efdef21e723a9fdb02b4de8498d16b392f0c5 --- gnu/packages/golang-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 67cf3b296698e5f5f536b977c77bc699be0bac1f..82ceb3a50cc3fc33b736e03c29a311d7f9d9ab97 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -9788,6 +9788,39 @@ single @code{Tree} implementation, optimized for sparse nodes.") (replace "go-github-com-hashicorp-golang-lru" go-github-com-hashicorp-golang-lru-v2))))) +(define-public go-github-com-hashicorp-go-msgpack-v2 + (package + (name "go-github-com-hashicorp-go-msgpack-v2") + (version "2.1.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hashicorp/go-msgpack") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1y87vqmzysbsvdi6di7dq8az4fswm8lsbxxcq54dnhrg40g4y3nd")))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "github.com/hashicorp/go-msgpack/v2")) + (propagated-inputs + (list go-golang-org-x-tools)) + (home-page "https://github.com/hashicorp/go-msgpack") + (synopsis "MessagePack implementation in Golang") + (description + "This package provides a High Performance, Feature-Rich Idiomatic +codec/encoding library for msgpack, JSON. + +Supported Serialization formats are: +@itemize +@item msgpack: https://github.com/msgpack/msgpack +@item json: http://json.org http://tools.ietf.org/html/rfc7159 +@end itemize") + (license license:expat))) + (define-public go-github-com-hashicorp-go-multierror (package (name "go-github-com-hashicorp-go-multierror")