guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

115/169: gnu: Add go-github-com-tinylib-msgp.


From: guix-commits
Subject: 115/169: gnu: Add go-github-com-tinylib-msgp.
Date: Thu, 26 Sep 2024 06:42:57 -0400 (EDT)

sharlatan pushed a commit to branch go-team
in repository guix.

commit c018698b91ba9eac3a3cedd6c4cb7c86727c9b58
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Sep 15 21:11:08 2024 +0100

    gnu: Add go-github-com-tinylib-msgp.
    
    * gnu/packages/golang-xyz.scm (go-github-com-tinylib-msgp): New variable.
    
    Change-Id: I901e4f1671a0868b0042d224f26ed74f2f9d3900
---
 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 16e360dd4b..5cf6074074 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7003,6 +7003,39 @@ readability, or to compact JSON for smaller payloads.")
 document.")
     (license license:expat)))
 
+(define-public go-github-com-tinylib-msgp
+  (package
+    (name "go-github-com-tinylib-msgp")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tinylib/msgp";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0mplb420i9cmf40qwsqzd1plln52nl0x0b7nkxffyr0pdh9za79a"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      ;; Tests require alternative Golang compiler
+      ;; <https://github.com/tinygo-org/tinygo>.
+      #:tests? #f
+      #:import-path "github.com/tinylib/msgp"
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'build))))
+    (propagated-inputs
+     (list go-golang-org-x-tools go-github-com-philhofer-fwd))
+    (home-page "http://msgpack.org/";)
+    (synopsis "MessagePack Code Generator")
+    (description
+     "This package provides a code generation tool for creating methods to
+serialize and de-serialize Go data structures to and from data interchange
+format - @url{https://en.wikipedia.org/wiki/MessagePack,MessagePack}.";)
+    (license license:expat)))
+
 (define-public go-github-com-tklauser-go-sysconf
   (package
     (name "go-github-com-tklauser-go-sysconf")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]