guix-commits
[Top][All Lists]
Advanced

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

10/62: gnu: Add go-github-com-gogo-protobuf.


From: Leo Famulari
Subject: 10/62: gnu: Add go-github-com-gogo-protobuf.
Date: Thu, 12 Oct 2017 21:43:37 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 3a4d3838d62239e9273506fe0577857114f11c1b
Author: Leo Famulari <address@hidden>
Date:   Wed Oct 11 00:52:10 2017 -0400

    gnu: Add go-github-com-gogo-protobuf.
    
    * gnu/packages/syncthing.scm (go-github-com-gogo-protobuf): New variable.
---
 gnu/packages/syncthing.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 4061ee3..fdf6f46 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -188,6 +188,42 @@ structs in the Go programming language.")
       (home-page "https://github.com/gobwas/glob";)
       (license expat))))
 
+(define-public go-github-com-gogo-protobuf
+  (let ((commit "efccd33a0c20aa078705571d5ddbfa14c8395a63")
+        (revision "0"))
+    (package
+      (name "go-github-com-gogo-protobuf")
+      (version (git-version "0.2" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/gogo/protobuf";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "09kfa3aqmhh7p0rc6wd4fw5cjccidsk9vgcy13albv0g8vnbmmgw"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/gogo/protobuf/proto"
+         #:unpack-path "github.com/gogo/protobuf"))
+      (propagated-inputs
+       `(("go-github-com-gogo-protobuf-protoc-gen-gogo"
+          ,go-github-com-gogo-protobuf-protoc-gen-gogo)))
+      (synopsis "Protocol Buffers for Go with Gadgets")
+      (description "Gogoprotobuf is a fork of golang/protobuf with extra code
+generation features.  This code generation is used to achieve:
address@hidden
address@hidden fast marshalling and unmarshalling
address@hidden more canonical Go structures
address@hidden goprotobuf compatibility
address@hidden less typing by optionally generating extra helper code
address@hidden peace of mind by optionally generating test and benchmark code
address@hidden other serialization formats
address@hidden itemize")
+      (home-page "https://github.com/gogo/protobuf";)
+      (license bsd-3))))
+
 (define-public go-github-com-gogo-protobuf-protoc-gen-gogo
   (let ((commit "efccd33a0c20aa078705571d5ddbfa14c8395a63")
         (revision "0"))



reply via email to

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