~ruther/guix-local

73fa31e593a1e97e7982c1b9ee63eae446b423f3 — Sharlatan Hellseher 3 months ago 8705e59
gnu: python-stripe: Move to python-web.

* gnu/packages/python-xyz.scm (python-stripe): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: I7ed64071e57d8eb77b2e6df50de3cf2642cd60ce
2 files changed, 29 insertions(+), 29 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-xyz.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +29 -0
@@ 4150,6 4150,35 @@ high-speed transfers via libcurl and frequently outperforms alternatives.")
    ;; under the terms of LGPLv2.1+ or Expat.
    (license (list license:lgpl2.1+ license:expat))))

(define-public python-stripe
  (package
    (name "python-stripe")
    (version "13.2.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/stripe/stripe-python")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0f0d1hqias3qylrhk56w055lqrlzjs9s7wxva30v54ykmn9nj6dx"))))
    (build-system pyproject-build-system)
    (arguments
     '(#:tests? #f))  ;; tests require network
    (native-inputs
     (list python-flit-core))
    (propagated-inputs
     (list python-httpx
           python-requests))
    (home-page "https://github.com/stripe/stripe-python")
    (synopsis "Python bindings for the Stripe financial services' API")
    (description "This package provides access to the Stripe financial
services' API.  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-tldextract
  (package
    (name "python-tldextract")

M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +0 -29
@@ 34313,35 34313,6 @@ the C time module reports is the local timezone offset.
@end itemize")
    (license license:gpl3+)))

(define-public python-stripe
  (package
    (name "python-stripe")
    (version "13.2.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/stripe/stripe-python")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0f0d1hqias3qylrhk56w055lqrlzjs9s7wxva30v54ykmn9nj6dx"))))
    (build-system pyproject-build-system)
    (arguments
     '(#:tests? #f))  ;; tests require network
    (native-inputs
     (list python-flit-core))
    (propagated-inputs
     (list python-httpx
           python-requests))
    (home-page "https://github.com/stripe/stripe-python")
    (synopsis "Python bindings for the Stripe financial services' API")
    (description "This package provides access to the Stripe financial
services' API.  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-platformdirs
  (package
    (name "python-platformdirs")