unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 48006@debbugs.gnu.org
Cc: Oliver Loaiza <olv345@hotmail.com>,
	Ekaitz Zarraga <ekaitz@elenq.tech>,
	rprior@protonmail.com, leo@famulari.name,
	Raghav Gururajan <rg@raghavgururajan.name>,
	Roberto Beltran <robertobeltran@protonmail.com>
Subject: [bug#48006] [PATCH] gnu: Add python-stripe.
Date: Sat, 24 Apr 2021 20:47:37 +0000	[thread overview]
Message-ID: <71783768557ae5cf8427a8841050c8b5@dismail.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 172 bytes --]

Hi Guix!

Here is our efforts so far from today's meetup.

Attached is a patch for python-stripe.

https://github.com/stripe/stripe-python

all the best,

jgart

[-- Attachment #2: 0001-gnu-Add-python-stripe.patch --]
[-- Type: application/octet-stream, Size: 1860 bytes --]

From b478dcf548ec2bb0cc0c4f682bb4d2f314b9ed6b Mon Sep 17 00:00:00 2001
From: LibreMiami <packaging-guix@libremiami.org>
Date: Sat, 24 Apr 2021 16:22:20 -0400
Subject: [PATCH] gnu: Add python-stripe.

* gnu/packages/python-web.scm (python-stripe): New variable.

Co-authored-by: jgart <jgart@dismail.de>
Co-authored-by: BonfaceKilz <me@bonfacemunyoki.com>
Co-authored-by: Raghav Gururajan <rg@raghavgururajan.name>
---
 gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4f34502e86..d9d35510e4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1685,6 +1685,31 @@ connection to each user.")
     (license license:asl2.0)
     (properties `((python2-variant . ,(delay python2-tornado))))))
 
+(define-public python-stripe
+  (package
+    (name "python-stripe")
+    (version "2.56.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "stripe" version))
+       (sha256
+        (base32
+         "0z3p8n004spmmzbla2xyikf28bc5fsl6i5056pqja3gfipxh9y9g"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:tests? #f)) ; tests require network access
+    (propagated-inputs
+      `(("python-requests" ,python-requests)))
+    (home-page "https://stripe.com")
+    (synopsis "Python bindings for the Stripe API")
+    (description
+"The Stripe Python library provides convenient access to the Stripe API
+from applications written in the Python language.  It includes a pre-defined set
+of classes for API resources that initialize themselves dynamically from API
+responses which makes it compatible with a wide range of versions of the Stripe API.")
+    (license license:expat)))
+
 (define-public python-tornado-6
   (package
     (name "python-tornado")
-- 
2.31.1


             reply	other threads:[~2021-04-24 20:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-24 20:47 jgart via Guix-patches via [this message]
2021-06-30  1:39 ` [bug#48006] Raghav Gururajan via Guix-patches via
2022-06-22 19:41   ` [bug#48006] [PATCH] gnu: Add python-stripe Maxim Cournoyer
2022-06-23  0:46     ` jgart via Guix-patches via
2022-06-23 16:42       ` bug#48006: " Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=71783768557ae5cf8427a8841050c8b5@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=48006@debbugs.gnu.org \
    --cc=ekaitz@elenq.tech \
    --cc=jgart@dismail.de \
    --cc=leo@famulari.name \
    --cc=olv345@hotmail.com \
    --cc=rg@raghavgururajan.name \
    --cc=robertobeltran@protonmail.com \
    --cc=rprior@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).