1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 10:30:43 +02:00

gnu: Add go-gitlab-com-gitlab-org-api-client-go.

* gnu/packages/golang-web.scm (go-gitlab-com-gitlab-org-api-client-go): New variable.

Change-Id: I1ddee93ce15b3882947b3a3d42c46463f004cc2f
This commit is contained in:
Sharlatan Hellseher 2025-02-25 23:54:19 +00:00
parent a5b20e27a3
commit bd9bf63c55
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -9264,6 +9264,54 @@ It is to used for inputs in other packages.")
;; which apply to the Application, with which you must still comply
license:lgpl3)))
(define-public go-gitlab-com-gitlab-org-api-client-go
(package
(name "go-gitlab-com-gitlab-org-api-client-go")
(version "0.123.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/gitlab-org/api/client-go.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0xrqyqvmaslfr9cj91519qi5f2sd3l2mvipxgjf13vd3v4fchacn"))))
(build-system go-build-system)
(arguments
(list
#:go go-1.22
#:import-path "gitlab.com/gitlab-org/api/client-go"
#:test-flags
#~(list "-skip"
(string-join
;; Tests requir network access.
(list "TestGetMergeRequest"
"TestRepositoryFilesService_CreateFile"
"TestRepositoryFilesService_DeleteFile"
"TestRepositoryFilesService_GetFile"
"TestRepositoryFilesService_GetFileBlame"
"TestRepositoryFilesService_GetFileMetaData"
"TestRepositoryFilesService_GetRawFile"
"TestRepositoryFilesService_UpdateFile"
"TestRepositorySubmodulesService_UpdateSubmodule"
"TestUpdateRepositoryEnvironmentsEscapesURL")
"|"))))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-google-go-querystring
go-github-com-hashicorp-go-cleanhttp
go-github-com-hashicorp-go-retryablehttp
go-golang-org-x-oauth2
go-golang-org-x-time))
(home-page "https://gitlab.com/gitlab-org/api/client-go")
(synopsis "GitLab client for Golang")
(description
"This package provides a GitLab API client enabling Go programs to
interact with GitLab in a simple and uniform way.")
(license license:asl2.0)))
(define-public go-gitlab-torproject-org-tpo-anti-censorship-geoip
(package
(name "go-gitlab-torproject-org-tpo-anti-censorship-geoip")