* [PATCH 10/12] gnu: Add python-terminado.
@ 2015-07-24 14:18 Federico Beffa
0 siblings, 0 replies; only message in thread
From: Federico Beffa @ 2015-07-24 14:18 UTC (permalink / raw)
To: Guix-devel
[-- Attachment #1: Type: text/plain, Size: 5 bytes --]
Fede
[-- Attachment #2: 0010-gnu-Add-python-terminado.patch --]
[-- Type: text/x-diff, Size: 2272 bytes --]
From a0cd468b1cbade952b2ecaf5ae1f8ff1d419603a Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Thu, 23 Jul 2015 12:36:37 +0200
Subject: [PATCH 10/12] gnu: Add python-terminado.
* gnu/packages/python.scm (python-terminado, python2-terminado): New
variables.
---
gnu/packages/python.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9243cf7..8ee7a82 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4279,3 +4279,45 @@ and interact with both the process and its pty.")
(define-public python2-ptyprocess
(package-with-python2 python-ptyprocess))
+
+(define-public python-terminado
+ (package
+ (name "python-terminado")
+ (version "0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/t/terminado/terminado-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1dkmp1n8dj5v1jl9mfrq8lwyc7dsfrvcmz2bgkpg315sy7pr7s33"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-tornado" ,python-tornado)
+ ("python-ptyprocess" ,python-ptyprocess)))
+ (inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-nose" ,python-nose)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (zero? (system* "nosetests")))))))
+ (home-page "https://github.com/takluyver/terminado")
+ (synopsis "Terminals served to term.js using Tornado websockets")
+ (description "A Tornado websocket backend for the term.js Javascript
+terminal emulator library.")
+ (license bsd-2)))
+
+(define-public python2-terminado
+ (let ((terminado (package-with-python2 python-terminado)))
+ (package (inherit terminado)
+ (propagated-inputs
+ `(("python2-tornado" ,python2-tornado)
+ ("python2-backport-ssl-match-hostname"
+ ,python2-backport-ssl-match-hostname)
+ ,@(alist-delete "python-tornado"
+ (package-propagated-inputs terminado)))))))
--
2.2.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-24 14:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-24 14:18 [PATCH 10/12] gnu: Add python-terminado Federico Beffa
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).