sharlatan pushed a commit to branch go-team
in repository guix.

commit 96998167c26cddbf44129cbf9955871b3fedaee9
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sat Jul 20 08:17:09 2024 +0100

    gnu: go-golang-org-x-exp: Adjust package style.
    
    * gnu/packages/golang-build.scm (go-golang-org-x-exp): Fix indentation,
    apply list style.
    [description]: Place the sentence on a new line.
    
    Change-Id: I79d4682dc8ca0e5f0826f7e32c6dd01fc58aca44
---
 gnu/packages/golang-build.scm | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index 88665490bb..d1977d36c8 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -262,28 +262,30 @@ language.")
         (base32 "0ccjgv19w5p9sbcq12czmfnkjwv3b7hfljifwax6r9wk4dx0fcn7"))
        (modules '((guix build utils)))
        (snippet
-        '(begin
-           ;; Submodules with their own go.mod files and packed as separated
-           ;; packages:
-           ;;
-           ;; - golang.org/x/exp/event
-           ;; - golang.org/x/exp/jsonrpc2
-           ;; - golang.org/x/exp/shiny
-           ;; - golang.org/x/exp/sumbdb
-           ;; - golang.org/x/exp/typeparams
-           (for-each delete-file-recursively
-                     (list "event" "jsonrpc2" "shiny" "sumdb" 
"typeparams"))))))
+        #~(begin
+            ;; Submodules with their own go.mod files and packed as separated
+            ;; packages:
+            ;;
+            ;; - golang.org/x/exp/event
+            ;; - golang.org/x/exp/jsonrpc2
+            ;; - golang.org/x/exp/shiny
+            ;; - golang.org/x/exp/sumbdb
+            ;; - golang.org/x/exp/typeparams
+            (for-each delete-file-recursively
+                      (list "event" "jsonrpc2" "shiny" "sumdb" 
"typeparams"))))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "golang.org/x/exp"
-       ;; Source-only package
-       #:tests? #f
-       #:phases (modify-phases %standard-phases
-                  (delete 'build))))
+     (list
+      #:import-path "golang.org/x/exp"
+      ;; Source-only package
+      #:tests? #f
+      #:phases #~(modify-phases %standard-phases
+                   (delete 'build))))
     (home-page "https://golang.org/x/exp";)
     (synopsis "Experimental and deprecated Go packages")
-    (description "This subrepository holds experimental and deprecated (in the
-@code{old} directory) packages.")
+    (description
+     "This subrepository holds experimental and deprecated (in the @code{old}
+directory) packages.")
     (license license:bsd-3)))
 
 (define-public go-golang-org-x-exp-typeparams

Reply via email to