mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-code-gitea-io-sdk-gitea.
* gnu/packages/golang-web.scm (go-code-gitea-io-sdk-gitea): New variable. Change-Id: I1138fd7e9ec12b43926a2bff05b5bd3b10b298be
This commit is contained in:
parent
64b525cb47
commit
4d11898c0c
1 changed files with 36 additions and 0 deletions
|
@ -165,6 +165,42 @@ connections
|
||||||
API service accounts for Go.")
|
API service accounts for Go.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public go-code-gitea-io-sdk-gitea
|
||||||
|
(package
|
||||||
|
(name "go-code-gitea-io-sdk-gitea")
|
||||||
|
(version "0.20.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://gitea.com/gitea/go-sdk")
|
||||||
|
(commit (go-version->git-ref version
|
||||||
|
#:subdir "gitea"))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "15mxaxi1nf6b9qacizf7r55jjcnil7qsdh77qzk6b59qcps940np"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:tests? #f ; XXX: Tests are broken
|
||||||
|
#:import-path "code.gitea.io/sdk/gitea"
|
||||||
|
#:unpack-path "code.gitea.io/sdk"))
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-stretchr-testify))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-42wim-httpsig
|
||||||
|
;; go-github-com-davidmz-go-pageant ; for windows only
|
||||||
|
go-github-com-go-fed-httpsig
|
||||||
|
go-github-com-hashicorp-go-version
|
||||||
|
go-golang-org-x-crypto))
|
||||||
|
(home-page "https://code.gitea.io/sdk")
|
||||||
|
(synopsis "Gitea Golang SDK client")
|
||||||
|
(description
|
||||||
|
"Package gitea implements a client for the Gitea API. The version
|
||||||
|
corresponds to the highest supported version of the gitea API, but
|
||||||
|
backwards-compatibility is mostly given.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-git-sr-ht-adnano-go-gemini
|
(define-public go-git-sr-ht-adnano-go-gemini
|
||||||
(package
|
(package
|
||||||
(name "go-git-sr-ht-adnano-go-gemini")
|
(name "go-git-sr-ht-adnano-go-gemini")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue