guix-commits
[Top][All Lists]
Advanced

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

39/62: gnu: Add go-golang-org-x-net-context.


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

lfam pushed a commit to branch master
in repository guix.

commit 303dfd5c568d024eabb5cd6c877052ba82c2a00f
Author: Leo Famulari <address@hidden>
Date:   Wed Oct 11 20:10:06 2017 -0400

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

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 829842b..c535f57 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -1035,6 +1035,33 @@ Packet Filter (BPF) virtual machine.")
       (home-page "https://go.googlesource.com/net/";)
       (license bsd-3))))
 
+(define-public go-golang-org-x-net-context
+  (let ((commit "ffcf1bedda3b04ebb15a168a59800a73d6dc0f4d")
+        (revision "0"))
+    (package
+      (name "go-golang-org-x-net-context")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://go.googlesource.com/net";)
+                      (commit commit)))
+                (file-name (string-append "go.googlesource.com-net-"
+                                          version "-checkout"))
+                (sha256
+                 (base32
+                  "1ifqw09pj9q23mza1d0im99yy3jp72dvq9dcx2bs1n1m11cjdjzp"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "golang.org/x/net/context"
+         #:unpack-path "golang.org/x/net"))
+      (synopsis "Golang Context type")
+      (description "This packages provides @code{context}, which defines the
+Context type, which carries deadlines, cancelation signals, and other
+request-scoped values across API boundaries and between processes.")
+      (home-page "https://go.googlesource.com/net/";)
+      (license bsd-3))))
+
 (define-public go-golang-org-x-sys-unix
   (let ((commit "f3918c30c5c2cb527c0b071a27c35120a6c0719a")
         (revision "0"))



reply via email to

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