sharlatan pushed a commit to branch go-team in repository guix. commit 6bb88ba685f4869acfced466918b13c369dd8cf4 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Tue Feb 25 23:54:19 2025 +0000
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 --- gnu/packages/golang-web.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) 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")