guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64542] [PATCH] gnu: Add python-ovh.


From: Liliana Marie Prikler
Subject: [bug#64542] [PATCH] gnu: Add python-ovh.
Date: Sun, 9 Jul 2023 15:58:51 +0200

* gnu/packages/python-web.scm (python-ovh): New variable.
---
 gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d0ac175039..7ac1ef236a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -778,6 +778,34 @@ (define-public python-aws-xray-sdk
 emit information from within their applications to the AWS X-Ray service.")
     (license license:asl2.0)))
 
+(define-public python-ovh
+  (package
+    (name "python-ovh")
+    (version "1.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "ovh" version))
+              (sha256
+               (base32
+                "0ygniv12lixh9rvnjcd01gzbzk2b5xwcg2a59b7964a77dd9p3qh"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))      ; XXX: tests require networking
+    (propagated-inputs (list python-requests))
+    (native-inputs (list python-black
+                         python-coverage
+                         python-flake8
+                         python-isort
+                         python-pytest
+                         python-pytest-cov
+                         python-setuptools
+                         python-sphinx
+                         python-wheel))
+    (home-page "https://api.ovh.com";)
+    (synopsis "Interact with OVHcloud APIs")
+    (description "This package provides the official module to perform HTTP 
requests
+to the OVHcloud APIs.")
+    (license license:bsd-3)))
+
 (define-public python-cbor2
   (package
     (name "python-cbor2")

base-commit: 8306d3e52902c0d9cffd9a79b379c917c8cf49be
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]