guix-commits
[Top][All Lists]
Advanced

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

60/62: gnu: Add go-golang-org-x-net-union.


From: Leo Famulari
Subject: 60/62: gnu: Add go-golang-org-x-net-union.
Date: Thu, 12 Oct 2017 21:43:45 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 4c3cc9496c1f98bc5160ea7a7548664c15aa64dc
Author: Leo Famulari <address@hidden>
Date:   Wed Oct 11 20:28:30 2017 -0400

    gnu: Add go-golang-org-x-net-union.
    
    * gnu/packages/syncthing.scm (go-golang-org-x-net-union): New variable.
---
 gnu/packages/syncthing.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 653cd3a..2ac39d1 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -1073,6 +1073,35 @@ Tiny Encryption Algorithm (XTEA) block cipher.")
       (home-page "https://go.googlesource.com/crypto/";)
       (license bsd-3))))
 
+(define* (go-golang-org-x-net-union #:optional
+                                 (packages (list go-golang-org-x-net-ipv4
+                                                 go-golang-org-x-net-bpf
+                                                 go-golang-org-x-net-context
+                                                 go-golang-org-x-net-ipv6
+                                                 go-golang-org-x-net-proxy
+                                                 
go-golang-org-x-net-internal-iana)))
+  (package
+    (name "go-golang-org-x-net")
+    (version (package-version go-golang-org-x-net-ipv4))
+    (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 the Go net libraries")
+    (description "A union of the Golang net libraries.")
+    (home-page (package-home-page go-golang-org-x-net-ipv4))
+    (license (package-license go-golang-org-x-net-ipv4))))
+
 (define-public go-golang-org-x-net-ipv4
   (let ((commit "ffcf1bedda3b04ebb15a168a59800a73d6dc0f4d")
         (revision "0"))



reply via email to

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