mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 19:49:25 -05:00
gnu: go-golang-org-x-sync: Fix indentation.
* gnu/packages/golang-build.scm (go-golang-org-x-sync): Re indent. Change-Id: I0399635dc8ddd2917b2f5920da883fa0459e7e30
This commit is contained in:
parent
2ead215712
commit
7e300af164
1 changed files with 30 additions and 30 deletions
|
@ -265,38 +265,38 @@ (define-public go-golang-org-x-net-0.17
|
|||
(base32 "17zhim2m0r8nyy18g2lsawxm4rawix2qbjyn80x9vc6jc8fv05m9")))))))
|
||||
|
||||
(define-public go-golang-org-x-sync
|
||||
(package
|
||||
(name "go-golang-org-x-sync")
|
||||
(version "0.7.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://go.googlesource.com/sync")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "03yq3pnjwqxqy1cvbkaa39ca2b9cli1k5wnz76l3a65n9fafai6q"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "golang.org/x/sync"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: Workaround for go-build-system's lack of Go modules
|
||||
;; support.
|
||||
(delete 'build)
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "test" "-v" "./..."))))))))
|
||||
(home-page "https://go.googlesource.com/sync/")
|
||||
(synopsis "Additional Go concurrency primitives")
|
||||
(description "This package provides Go concurrency primitives in
|
||||
(package
|
||||
(name "go-golang-org-x-sync")
|
||||
(version "0.7.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://go.googlesource.com/sync")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "03yq3pnjwqxqy1cvbkaa39ca2b9cli1k5wnz76l3a65n9fafai6q"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "golang.org/x/sync"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: Workaround for go-build-system's lack of Go modules
|
||||
;; support.
|
||||
(delete 'build)
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "test" "-v" "./..."))))))))
|
||||
(home-page "https://go.googlesource.com/sync/")
|
||||
(synopsis "Additional Go concurrency primitives")
|
||||
(description "This package provides Go concurrency primitives in
|
||||
addition to the ones provided by the language and “sync” and “sync/atomic”
|
||||
packages.")
|
||||
(license license:bsd-3)))
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public go-golang-org-x-sys
|
||||
(let ((commit "ca59edaa5a761e1d0ea91d6c07b063f85ef24f78")
|
||||
|
|
Loading…
Reference in a new issue