guix-commits
[Top][All Lists]
Advanced

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

61/65: gnu: go-github-com-google-go-github: Move to (gnu packages golang


From: guix-commits
Subject: 61/65: gnu: go-github-com-google-go-github: Move to (gnu packages golang-web).
Date: Wed, 3 Jan 2024 16:51:20 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit bd0898a9cce91e9db742800b98cde15d722510d3
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Nov 29 22:35:40 2023 +0000

    gnu: go-github-com-google-go-github: Move to (gnu packages golang-web).
    
    * gnu/packages/golang.scm (go-github-com-google-go-github): Move from
    here...
    * gnu/packages/golang-web.scm: ...to here.
    
    Change-Id: I17711a8f0bfd58a12cf805f1678688d2946c985b
---
 gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 26 --------------------------
 2 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index fbfa1049a4..20c3b0f3e1 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -538,6 +538,32 @@ decompose request handling into many smaller layers.")
     (description "Fast JSON encoder/decoder compatible with encoding/json for 
Go.")
     (license license:expat)))
 
+(define-public go-github-com-google-go-github
+  (package
+    (name "go-github-com-google-go-github")
+    (version "26.1.3")
+    (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 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f ;application/octet-stream instead of text/plain
+       #:import-path "github.com/google/go-github/v26/github"
+       #:unpack-path "github.com/google/go-github/v26"))
+    (native-inputs
+     (list go-github-com-google-go-querystring go-golang-org-x-crypto))
+    (home-page "https://github.com/google/go-github/";)
+    (synopsis "Client library for accessing the GitHub API v3")
+    (description "@code{go-github} is a Go client library for accessing the
+GitHub API v3.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-google-safehtml
   (package
     (name "go-github-com-google-safehtml")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index add75b11d2..0d83c2b270 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7987,32 +7987,6 @@ and from termios translations, readCh, reading 
passwords, etc.")
 into URL query parameters.")
       (license license:bsd-3))))
 
-(define-public go-github-com-google-go-github
-  (package
-    (name "go-github-com-google-go-github")
-    (version "26.1.3")
-    (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
-                "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:tests? #f ;application/octet-stream instead of text/plain
-       #:import-path "github.com/google/go-github/v26/github"
-       #:unpack-path "github.com/google/go-github/v26"))
-    (native-inputs
-     (list go-github-com-google-go-querystring go-golang-org-x-crypto))
-    (home-page "https://github.com/google/go-github/";)
-    (synopsis "Client library for accessing the GitHub API v3")
-    (description "@code{go-github} is a Go client library for accessing the
-GitHub API v3.")
-    (license license:bsd-3)))
-
 (define-public go-github-com-google-renameio
   (package
     (name "go-github-com-google-renameio")



reply via email to

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