From bbcd2074f06779a33874ea57d97c8590a68e92b6 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 5 Dec 2024 23:49:41 +0000 Subject: [PATCH] gnu: Add go-github-com-xanzy-go-gitlab. * gnu/packages/golang-vcs.scm (go-github-com-xanzy-go-gitlab): New variable. Change-Id: Id59090f6642e01e223690b022e29e123a6bac03c --- gnu/packages/golang-vcs.scm | 38 ++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang-vcs.scm b/gnu/packages/golang-vcs.scm index 1dd67125d5279fd9203b17cfac2be6d1be9252a3..b264b3ecaf1e7d6febf96b62e000eb112c79a835 100644 --- a/gnu/packages/golang-vcs.scm +++ b/gnu/packages/golang-vcs.scm @@ -1,4 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,7 +22,10 @@ #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix packages) - #:use-module (gnu packages)) + #:use-module (gnu packages) + #:use-module (gnu packages golang-build) + #:use-module (gnu packages golang-check) + #:use-module (gnu packages golang-web)) ;;; Commentary: ;;; @@ -33,6 +37,38 @@ ;;; Libraries: ;;; +(define-public go-github-com-xanzy-go-gitlab + (package + (name "go-github-com-xanzy-go-gitlab") + (version "0.114.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xanzy/go-gitlab") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "136iik1pqggdk2z3yz4wh5z05wp9sb6j1rpbf33bjn5djqxcxbbf")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/xanzy/go-gitlab")) + (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://github.com/xanzy/go-gitlab") + (synopsis "GitLab Go SDK") + (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))) + ;;; ;;; Executables: ;;;