guix-patches
[Top][All Lists]
Advanced

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

[bug#60238] [PATCH 6/7] gnu: Add python-cheroot.


From: dan
Subject: [bug#60238] [PATCH 6/7] gnu: Add python-cheroot.
Date: Wed, 21 Dec 2022 21:14:03 +0800

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

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 18c0b47b67..65b445688c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -58,6 +58,7 @@
 ;;; Copyright © 2022 msimonin <matthieu.simonin@inria.fr>
 ;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
 ;;; Copyright © 2022 Baptiste Strazzulla <bstrazzull@hotmail.fr>
+;;; Copyright © 2022 dan <i@dan.games>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -979,6 +980,34 @@ (define-public python-httplib2
 other HTTP libraries.")
     (license license:expat)))
 
+(define-public python-cheroot
+  (package
+    (name "python-cheroot")
+    (version "8.6.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "cheroot" version))
+              (sha256
+               (base32
+                "09cfy2iwqs1j8k0mailcdzzjw0lkg4lyc6rddi45b5dcgipdysin"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-importlib-metadata python-jaraco-functools
+                             python-more-itertools))
+    (native-inputs (list python-pytest
+                         python-requests
+                         python-requests-unixsocket
+                         python-requests-toolbelt
+                         python-pypytools
+                         python-trustme
+                         python-pyopenssl
+                         python-jaraco-text
+                         python-portend
+                         python-setuptools-scm-git-archive))
+    (home-page "https://cheroot.cherrypy.dev";)
+    (synopsis "Highly-optimized, pure-python HTTP server")
+    (description "Highly-optimized, pure-python HTTP server")
+    (license license:bsd-3)))
+
 (define-public httpie
   (package
     (name "httpie")
-- 
2.38.1






reply via email to

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