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.
This commit is contained in:
Oleg Pykhalov 2020-08-09 12:49:45 +03:00
parent e0f1789d2b
commit 911de79e70
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -5143,11 +5143,11 @@ (define-public go-github-com-go-git-go-billy
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 @@ (define-public go-github-com-jbenet-go-context-io
"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