[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
70/97: gnu: go-github-com-go-git-go-git-v5: Update style.
From: |
guix-commits |
Subject: |
70/97: gnu: go-github-com-go-git-go-git-v5: Update style. |
Date: |
Sun, 15 Sep 2024 16:28:48 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit acd310438ce92c2e694d17fa88f7c0b286cad24b
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Sep 14 23:37:25 2024 +0100
gnu: go-github-com-go-git-go-git-v5: Update style.
* gnu/packages/version-control.scm (go-github-com-go-git-go-git-v5):
Apply G-expression.
Change-Id: I80fd085c8ea9bda9d7be45ee8965bbea50117516
---
gnu/packages/version-control.scm | 31 +++++++++++++++----------------
1 file changed, 15 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index c909077b88..45d47cb2fc 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -3845,22 +3845,21 @@ defects faster.")
"1vkcmhh2qq8c38sjbnzf0wvg2rzr19wssaq177bsvrjwj1xz1qbs"))))
(build-system go-build-system)
(arguments
- `(#:tests? #f ;requires network connection
- #:import-path "github.com/go-git/go-git/v5"
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'setup
- (lambda* (#:key inputs #:allow-other-keys)
- (let* ((git (assoc-ref inputs "git"))
- (git-bin (string-append (assoc-ref inputs "git") "/bin"))
- (git-exe (string-append git-bin "/git")))
- (setenv "GIT_DIST_PATH=" git)
- (setenv "GIT_EXEC_PATH=" git-bin)
- (setenv "HOME" (getcwd))
- (invoke git-exe "config" "--global" "user.email"
"gha@example.com")
- (invoke git-exe "config" "--global" "user.name" "GitHub
Actions")
- #t)
- #t)))))
+ (list
+ #:tests? #f ;requires network connection
+ #:import-path "github.com/go-git/go-git/v5"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'setup
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((git #$(this-package-native-input "git"))
+ (git-bin (string-append git "/bin"))
+ (git-exe (string-append git-bin "/git")))
+ (setenv "GIT_DIST_PATH=" git)
+ (setenv "GIT_EXEC_PATH=" git-bin)
+ (setenv "HOME" (getcwd))
+ (invoke git-exe "config" "--global" "user.email"
"gha@example.com")
+ (invoke git-exe "config" "--global" "user.name" "GitHub
Actions")))))))
(propagated-inputs
(list go-github-com-alcortesm-tgz
go-github-com-emirpasic-gods
- 09/97: gnu: go-golang-org-x-term: Update to 0.24.0., (continued)
- 09/97: gnu: go-golang-org-x-term: Update to 0.24.0., guix-commits, 2024/09/15
- 31/97: gnu: go-github-com-google-go-cmdtest: Update to 0.4.0., guix-commits, 2024/09/15
- 25/97: gnu: go-github-com-ipfs-go-ds-badger: Fix build., guix-commits, 2024/09/15
- 36/97: gnu: go-golang-org-x-vuln: Update to 1.1.3., guix-commits, 2024/09/15
- 47/97: gnu: go-github-com-google-goterm: Fix indentation., guix-commits, 2024/09/15
- 71/97: gnu: Add go-github-com-bmatcuk-doublestar-v3., guix-commits, 2024/09/15
- 95/97: gnu: Add go-github-com-philhofer-fwd., guix-commits, 2024/09/15
- 67/97: gnu: go-github-com-go-git-go-billy: Rename variable., guix-commits, 2024/09/15
- 92/97: gnu: Add go-github-com-ryanuber-columnize., guix-commits, 2024/09/15
- 56/97: gnu: go-github-com-google-gopacket: Move to golang-web., guix-commits, 2024/09/15
- 70/97: gnu: go-github-com-go-git-go-git-v5: Update style.,
guix-commits <=
- 96/97: gnu: Add go-github-com-tinylib-msgp., guix-commits, 2024/09/15
- 94/97: gnu: Add go-github-com-pquerna-ffjson., guix-commits, 2024/09/15
- 82/97: gnu: Add go-github-com-golang-mock., guix-commits, 2024/09/15
- 57/97: gnu: go-github-com-xeipuuv-gojsonschema: Update to 1.2.0., guix-commits, 2024/09/15
- 79/97: gnu: Add go-github-com-go-openapi-runtime., guix-commits, 2024/09/15
- 80/97: gnu: Add go-github-com-gofrs-uuid., guix-commits, 2024/09/15
- 52/97: gnu: go-github-com-jonboulle-clockwork: Move to golang-xyz., guix-commits, 2024/09/15
- 54/97: gnu: go-github-com-google-btree: Update to 1.1.3., guix-commits, 2024/09/15
- 59/97: gnu: go-golang-org-x-oauth2: Update to 0.23.0., guix-commits, 2024/09/15
- 72/97: gnu: Add go-github-com-rs-xid., guix-commits, 2024/09/15