guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f46fed3d6a019c01d9a203b150b4a49a39c45e83
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jul 23 20:13:57 2026 +0100

    gnu: Add go-github-com-gfleury-go-bitbucket-v1.
    
    * gnu/packages/golang-web.scm (go-github-com-gfleury-go-bitbucket-v1): New 
variable.
    
    Relates-to: guix/guix!10137
---
 gnu/packages/golang-web.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c73b9d3693..1eb5c6759b 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -7591,6 +7591,55 @@ OpenAPI v3.1}.")
 implementation for the Go programming language.")
     (license license:expat)))
 
+(define-public go-github-com-gfleury-go-bitbucket-v1
+  (package
+    (name "go-github-com-gfleury-go-bitbucket-v1")
+    (properties '((commit . "df385efaac68f2cdd70049ee0c20b778c50c058b")
+                  (revision . "0")
+                  (go-pseudo-version . "0.0.0-20240917142304-df385efaac68")))
+    (version (git-version "0.0.0"
+                          (assoc-ref properties 'revision)
+                          (assoc-ref properties 'commit)))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/gfleury/go-bitbucket-v1";)
+              (commit (assoc-ref properties 'commit))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0571ccf2b6b4wp9qk4mh1pv9w2ll16bjwikrn9q7spsl7fvqaq0g"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/gfleury/go-bitbucket-v1"
+      #:test-flags
+      ;; These tests require some interaction with mock server.
+      #~(list "-skip" (string-join
+                       (list "TestGetGroupsPermissionResponse/Empty_list"
+                             "TestGetPullRequestsResponse/Empty_list"
+                             "TestGetSSHKeysResponse/Empty_list"
+                             "TestGetSearchResultResponse/Good_response"
+                             "TestGetUsersPermissionResponse/Empty_list"
+                             "TestGetUsersResponse/Empty_list"
+                             "TestGetWebhooksResponse/Empty_list")
+                       "|"))))
+    (native-inputs
+     (list go-github-com-gorilla-mux))
+    (propagated-inputs
+     (list go-github-com-mitchellh-mapstructure
+           go-golang-org-x-net
+           go-golang-org-x-oauth2))
+    (home-page "https://github.com/gfleury/go-bitbucket-v1";)
+    (synopsis "Go API client for Bitbucket (bitbucket-server V1)")
+    (description
+     "This package imlements API client for Atlassian's Bitbucket
+Server (former stash) in Go.  This API client was generated by the
+@url{https://github.com/swagger-api/swagger-codegen, swagger-codegen} project.
+By using the @url{https://github.com/swagger-api/swagger-spec, swagger-spec}
+from a remote server, you can easily generate an API client.")
+    (license license:expat)))
+
 (define-public go-github-com-gin-contrib-sse
   (package
     (name "go-github-com-gin-contrib-sse")

Reply via email to