guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f4bec4dfa7a955038aca3aeeb330faa804b50d55
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Feb 12 16:16:51 2026 +0000

    gnu: Add go-github-com-stripe-stripe-go-v81.
    
    * gnu/packages/golang-web.scm (go-github-com-stripe-stripe-go-v81): New 
variable.
    
    Change-Id: Ia2164431c604df80735bd024be463cdb39471a37
---
 gnu/packages/golang-web.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 3ed4a028df..8e1a1b87c0 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -13743,6 +13743,40 @@ file into a Go http.CookieJar.")
 StatHat} account.")
     (license license:expat)))
 
+(define-public go-github-com-stripe-stripe-go-v81
+  (package
+    (name "go-github-com-stripe-stripe-go-v81")
+    (version "81.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/stripe/stripe-go";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1x6sbpw4c90p30q8hhlqwswx96ap6p50plj4sk2bl79nax647vnn"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/stripe/stripe-go/v81"
+      #:test-subdirs
+      ;; XXX: The most of the tests fail with error: Couldn't reach
+      ;; stripe-mock at `localhost:12112`.
+      ;; Running with helper function from Makefile breaks on the same point,
+      ;; keep just a smal portin of tests.
+      #~(list "client" "form" "webhook")))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-golang-org-x-net))
+    (home-page "https://github.com/stripe/stripe-go";)
+    (synopsis "Go library for the Stripe API")
+    (description
+     "This package provides the binding for @url{https://stripe.com/, Stripe}
+REST APIs.")
+    (license license:expat)))
+
 (define-public go-github-com-swaggo-swag
   (package
     (name "go-github-com-swaggo-swag")

Reply via email to