mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-github-com-google-go-github-v50.
* gnu/packages/golang-web.scm (go-github-com-google-go-github-50): New variable. Change-Id: I0299e56db83d39a1bf8dd3afc9046a2b11c2e13b
This commit is contained in:
parent
50784186df
commit
97c3244b63
1 changed files with 33 additions and 0 deletions
|
@ -3195,6 +3195,39 @@ GitHub API v3.")
|
|||
(package-arguments go-github-com-google-go-github-v31)
|
||||
((#:import-path _) "github.com/google/go-github/v33")))))
|
||||
|
||||
(define-public go-github-com-google-go-github-v50
|
||||
(package
|
||||
(inherit go-github-com-google-go-github-v31)
|
||||
(name "go-github-com-google-go-github-v50")
|
||||
(version "50.2.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 "11qzikm988zfzs6g70lbdjfhw7kdndagahg0q2bkn2ibq2c47xxp"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
#~(begin
|
||||
;; Submodules with their own go.mod files and packaged separately:
|
||||
;;
|
||||
;; - github.com/google/go-github/scrape
|
||||
(delete-file-recursively "scrape")
|
||||
(delete-file-recursively "update-urls")))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments
|
||||
(package-arguments go-github-com-google-go-github-v31)
|
||||
((#:import-path _) "github.com/google/go-github/v50")))
|
||||
(native-inputs
|
||||
(list go-github-com-google-go-cmp))
|
||||
(propagated-inputs
|
||||
(list go-github-com-google-go-querystring
|
||||
go-github-com-protonmail-go-crypto
|
||||
go-golang-org-x-oauth2))))
|
||||
|
||||
(define-public go-github-com-google-go-querystring
|
||||
(package
|
||||
(name "go-github-com-google-go-querystring")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue