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

commit b45db147d2e6ae46dabda6c141a7178c5a1d415e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat May 2 22:32:47 2026 +0100

    gnu: Add go-github-com-google-go-github-v61.
    
    * gnu/packages/golang-web.scm (go-github-com-google-go-github-v61): New 
variable.
    
    Change-Id: I229d1f9c05c12df52ce8a71534fa1ee17481c567
---
 gnu/packages/golang-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 544efd2fe9..d3831d7eb5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -8678,6 +8678,35 @@ GitHub API v3.")
            go-github-com-protonmail-go-crypto
            go-golang-org-x-oauth2))))
 
+(define-public go-github-com-google-go-github-v61
+  (package
+    (inherit go-github-com-google-go-github-v50)
+    (name "go-github-com-google-go-github-v61")
+    (version "61.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/google/go-github";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1kivw55z2xckymg7xx6hkvmki5mwrphhcjlgrpfv35glnd5p5zmy"))
+       (modules '((guix build utils)))
+       (snippet
+        #~(begin
+            ;; Submodules with their own go.mod files and packaged separately:
+            ;;
+            ;; - github.com/google/go-github/scrape
+            ;; - github.com/google/go-github/tools
+            (delete-file-recursively "scrape")
+            (delete-file-recursively "tools")))))
+    (arguments
+     (substitute-keyword-arguments arguments
+       ((#:import-path _) "github.com/google/go-github/v61")))
+    (propagated-inputs
+     (list go-github-com-google-go-querystring))))
+
 (define-public go-github-com-google-go-querystring
   (package
     (name "go-github-com-google-go-querystring")

Reply via email to