guix-commits
[Top][All Lists]
Advanced

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

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


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

lfam pushed a commit to branch master
in repository guix.

commit 503802ab91ee3b208b0ea69d3ec0f35ea7328ebc
Author: Leo Famulari <address@hidden>
Date:   Wed Oct 11 20:26:22 2017 -0400

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

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index c688bbc..3272f7f 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -189,6 +189,31 @@ structs in the Go programming language.")
       (home-page "https://github.com/gobwas/glob";)
       (license expat))))
 
+(define* (go-github-com-gogo-protobuf-union
+           #:optional (packages (list go-github-com-gogo-protobuf
+                                      
go-github-com-gogo-protobuf-protoc-gen-gogo)))
+  (package
+    (name "go-github-com-gogo-protobuf-union")
+    (version (package-version go-github-com-gogo-protobuf))
+    (source #f)
+    (build-system trivial-build-system)
+    (arguments
+     '(#:modules ((guix build union))
+       #:builder (begin
+                   (use-modules (ice-9 match)
+                                (guix build union))
+                   (match %build-inputs
+                     (((names . directories) ...)
+                      (union-build (assoc-ref %outputs "out")
+                                   directories))))))
+    (inputs (map (lambda (package)
+                   (list (package-name package) package))
+                 packages))
+    (synopsis "Union of Go protobuf libraries")
+    (description "This is a union of Go protobuf libraries")
+    (home-page (package-home-page go-github-com-gogo-protobuf))
+    (license (package-license go-github-com-gogo-protobuf))))
+
 (define-public go-github-com-gogo-protobuf
   (let ((commit "efccd33a0c20aa078705571d5ddbfa14c8395a63")
         (revision "0"))



reply via email to

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