all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69351] [PATCH] gnu: Add go-github-com-ugorji-go-codec.
@ 2024-02-24  9:40 Troy Figiel
  2024-03-07  0:00 ` bug#69351: " Sharlatan Hellseher
  0 siblings, 1 reply; 2+ messages in thread
From: Troy Figiel @ 2024-02-24  9:40 UTC (permalink / raw)
  To: 69351

* gnu/packages/golang-web.scm (go-github-com-ugorji-go-codec): New variable.
---
 gnu/packages/golang-web.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 4f2c6f8c1a..5f5278e11c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1394,6 +1394,38 @@ (define-public go-github-com-tv42-httpunix
 sockets.")
       (license license:expat))))
 
+(define-public go-github-com-ugorji-go-codec
+  (package
+    (name "go-github-com-ugorji-go-codec")
+    (version "1.2.12")
+    (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 "11j0sd7kli2bh2npfr2znnvdjsk118rs8khqzfdp6pb5jm0l20ib"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/ugorji/go/codec"
+      #:unpack-path "github.com/ugorji/go"
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'remove-benchmarks
+                     (lambda* (#:key import-path #:allow-other-keys)
+                       (delete-file-recursively (string-append "src/"
+                                                               import-path
+                                                               "/bench")))))))
+    (propagated-inputs (list go-golang-org-x-tools))
+    (home-page "https://github.com/ugorji/go")
+    (synopsis "Codec and encoding library for various serialization formats")
+    (description
+     "This package provides a high performance and feature rich codec and
+encoding library for the MessagePack, CBOR, JSON and the Binc formats.")
+    (license license:expat)))
+
 (define-public go-github-com-valyala-fasthttp
   (package
     (name "go-github-com-valyala-fasthttp")

base-commit: c0f88cd18649c31c75bcddf8247b14ef3e3a66a5
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#69351: [PATCH] gnu: Add go-github-com-ugorji-go-codec.
  2024-02-24  9:40 [bug#69351] [PATCH] gnu: Add go-github-com-ugorji-go-codec Troy Figiel
@ 2024-03-07  0:00 ` Sharlatan Hellseher
  0 siblings, 0 replies; 2+ messages in thread
From: Sharlatan Hellseher @ 2024-03-07  0:00 UTC (permalink / raw)
  To: 69351-done

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]


Pushed as a28498d83d644d02a0e02ce74954c6e936ff0543 to master.

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-07  0:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-24  9:40 [bug#69351] [PATCH] gnu: Add go-github-com-ugorji-go-codec Troy Figiel
2024-03-07  0:00 ` bug#69351: " Sharlatan Hellseher

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.