[bug#33759,v2,2/5] gnu: Add python-miniboa.

Message ID 20190103213452.1829-2-mail@cbaines.net
State Accepted
Commit 24a23bea2068c94ba828a04559007d4b957be83b
Headers show
Series [bug#33759,v2,1/5] gnu: linkchecker: Fix build. | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed
cbaines/applying patch fail Apply failed
cbaines/applying patch fail Apply failed
cbaines/applying patch fail Apply failed
cbaines/applying patch fail Apply failed

Commit Message

Christopher Baines Jan. 3, 2019, 9:34 p.m. UTC
python2-miniboa is required for the linkchecker testsuite.

* gnu/packages/python.scm (python-miniboa, python2-miniboa): New variable.
---
 gnu/packages/python.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 00d60333a4..852beb73da 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1755,6 +1755,28 @@  matching them against a list of media-ranges.")
 (define-public python2-mimeparse
   (package-with-python2 python-mimeparse))
 
+(define-public python-miniboa
+  (package
+    (name "python-miniboa")
+    (version "1.0.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "miniboa" version))
+       (sha256
+        (base32
+         "09jh3pn4rh7kh7jayanf8jzy6gp03791b5a193w6148cf3i6k9m3"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/shmup/miniboa")
+    (synopsis "Simple, single-threaded Telnet server")
+    (description
+     "Miniboa is a simple, asynchronous, single-threaded, poll-based Telnet
+server.")
+    (license license:asl2.0)))
+
+(define-public python2-miniboa
+  (package-with-python2 python-miniboa))
+
 (define-public python-pafy
   (package
     (name "python-pafy")