summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-25 23:54:19 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:23 +0100
commitbd9bf63c55858bcb9bad180858be203b9c706c6f (patch)
tree225e65791d22c2fa66e2e914c281c50a3f382068 /gnu/packages/golang-web.scm
parenta5b20e27a3b6f63bd372635d233e565112277112 (diff)
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
Diffstat (limited to 'gnu/packages/golang-web.scm')
-rw-r--r--gnu/packages/golang-web.scm48
1 files changed, 48 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 87c209b7da..2af3e70a8b 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -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")