From 2db06571d0e714d1d39190093ed8dda8a51ca162 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 28 Jan 2023 15:51:31 +0800 Subject: [PATCH] rosenthal: Add go-github-com-ugorji-go-codec. * rosenthal/packages/golang.scm (go-github-com-ugorji-go-codec): New variable. --- rosenthal/packages/golang.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/rosenthal/packages/golang.scm b/rosenthal/packages/golang.scm index deecbfb..b85e709 100644 --- a/rosenthal/packages/golang.scm +++ b/rosenthal/packages/golang.scm @@ -149,3 +149,28 @@ Proxy functionality.") '(#:import-path "github.com/pelletier/go-toml/v2")) (native-inputs (list go-github-com-stretchr-testify)))) + +(define-public go-github-com-ugorji-go-codec + (package + (name "go-github-com-ugorji-go-codec") + (version "1.2.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ugorji/go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0h4mbxp8zyhash342l00fd5726yhfmgrlk6v7sl6k8fd6mkb10l4")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/ugorji/go/codec" + #:unpack-path "github.com/ugorji/go")) + (home-page "https://github.com/ugorji/go") + (synopsis "Go 1.4+ codec/encoding library for binary and text formats") + (description + "This package provides a Go 1.4+ codec/encoding library for binary and +text formats: @code{binc}, @code{msgpack}, @code{cbor}, @code{json} and +@code{simple}.") + (license license:expat)))