summary refs log tree commit diff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2020-08-09 12:49:45 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2020-08-09 17:19:24 +0300
commit911de79e7073d10e2e38d774a151590f7374922d (patch)
tree7438fae6338558a6f7e134aafa7500d7af40a598
parente0f1789d2b40eead6d222523db9be1f59f2bb066 (diff)
downloadguix-911de79e7073d10e2e38d774a151590f7374922d.tar.gz
gnu: Factorize go-github-com-jbenet-go-context.
* gnu/packages/golang.scm
(go-github-com-jbenet-go-context-io): Delete variable.
(go-github-com-jbenet-go-context): New variable.
-rw-r--r--gnu/packages/golang.scm11
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1af17237da..7674c3cbe9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5143,11 +5143,11 @@ storage.  Makes it virtually free to implement mocks and testing over
 filesystem operations.")
     (license license:asl2.0)))
 
-(define-public go-github-com-jbenet-go-context-io
+(define-public go-github-com-jbenet-go-context
   (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
         (revision "1"))
     (package
-      (name "go-github-com-jbenet-go-context-io")
+      (name "go-github-com-jbenet-go-context")
       (version (git-version "0.0.1" revision commit))
       (source (origin
                 (method git-fetch)
@@ -5160,7 +5160,12 @@ filesystem operations.")
                   "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
       (build-system go-build-system)
       (arguments
-       `(#:import-path "github.com/jbenet/go-context/io"))
+       `(#:import-path "github.com/jbenet/go-context"
+         ; Source-only package
+         #:tests? #f
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'build))))
       (home-page "https://github.com/jbenet/go-context/")
       (synopsis "@code{jbenet's} context extensions")
       (description "This package provides @code{jbenet's} context