summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-02-12 16:16:51 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-02-12 18:23:01 +0000
commitf4bec4dfa7a955038aca3aeeb330faa804b50d55 (patch)
tree7765bf0b4c3b34a9120cc6ce3066e03305805ae3 /gnu
parent578b0bde8f51459cb0dbd72159cb599d9ac11e8e (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-web.scm34
1 files changed, 34 insertions, 0 deletions
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")