guix-commits
[Top][All Lists]
Advanced

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

23/29: gnu: go-golang-org-x-sync: Fix indentation.


From: guix-commits
Subject: 23/29: gnu: go-golang-org-x-sync: Fix indentation.
Date: Sat, 29 Jun 2024 04:40:32 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 7e300af164d6abd8c6c203eda9d3d705e94390bc
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Jun 20 08:10:30 2024 +0100

    gnu: go-golang-org-x-sync: Fix indentation.
    
    * gnu/packages/golang-build.scm (go-golang-org-x-sync): Re indent.
    
    Change-Id: I0399635dc8ddd2917b2f5920da883fa0459e7e30
---
 gnu/packages/golang-build.scm | 60 +++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index 45a57124be..9c56c38fd9 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -265,38 +265,38 @@ loading algorithms.")
           (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")



reply via email to

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