GNU bug report logs - #54560
[PATCH 00/47] gnu: Add go-github-com-prometheus-prometheus.

Previous Next

Package: guix-patches;

Reported by: Leo Nikkilä <hello <at> lnikki.la>

Date: Fri, 25 Mar 2022 08:11:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Leo Nikkilä <hello <at> lnikki.la>
To: 54560 <at> debbugs.gnu.org
Cc: Leo Nikkilä <hello <at> lnikki.la>
Subject: [bug#54560] [PATCH 13/47] gnu: Add go-github-com-mailru-easyjson.
Date: Fri, 25 Mar 2022 15:31:37 +0200
* gnu/packages/golang.scm (go-github-com-mailru-easyjson): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cf4c85b7cc..15a2f4310b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9999,6 +9999,34 @@ (define-public go-github-com-julienschmidt-httprouter
     (home-page "https://github.com/julienschmidt/httprouter")
     (license license:bsd-3)))
 
+(define-public go-github-com-mailru-easyjson
+  (package
+    (name "go-github-com-mailru-easyjson")
+    (version "0.7.7")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/mailru/easyjson")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0clifkvvy8f45rv3cdyv58dglzagyvfcqb63wl6rij30c5j2pzc1"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/mailru/easyjson"))
+    (propagated-inputs (list go-github-com-josharian-intern))
+    (synopsis "Fast JSON serializer for golang")
+    (description
+     "Package @code{easyjson} provides a fast and easy way to
+marshal/unmarshal Go structs to/from JSON without the use of reflection.
+
+In performance tests, @code{easyjson} outperforms the standard
+@code{encoding/json} package by a factor of 4-5x, and other JSON
+encoding packages by a factor of 2-3x.")
+    (home-page "https://github.com/mailru/easyjson")
+    (license license:expat)))
+
 (define-public go-google-golang-org-protobuf
   (package
     (name "go-google-golang-org-protobuf")
-- 
2.34.0





This bug report was last modified 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.