[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/20: gnu: Add python-qtconsole.
From: |
guix-commits |
Subject: |
18/20: gnu: Add python-qtconsole. |
Date: |
Wed, 2 Jan 2019 10:34:33 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 38306e11685b18e9fff5766252b39942da0d75d9
Author: Ricardo Wurmus <address@hidden>
Date: Wed Jan 2 16:28:27 2019 +0100
gnu: Add python-qtconsole.
* gnu/packages/python.scm (python-qtconsole): New variable.
---
gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f68062a..8bc2935 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7333,6 +7333,42 @@ Jupyter kernels such as IJulia and IRKernel.")
"python-ipython"
(package-propagated-inputs python-jupyter-console)))))
+(define-public python-qtconsole
+ (package
+ (name "python-qtconsole")
+ (version "4.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "qtconsole" version))
+ (sha256
+ (base32
+ "1b03n1ixzscm0jw97l4dq5iy4fslnqxq5bb8287xb7n2a1gs26xw"))))
+ (build-system python-build-system)
+ (arguments
+ ;; XXX: Tests are disabled, because this package needs python-ipython 7,
+ ;; but we only have the LTS version 5.x. This means that there might be
+ ;; runtime errors, but since this is a dependency of the Jupyter package,
+ ;; and Jupyter can be used without the qtconsole we can overlook this for
+ ;; now.
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ #t)))))
+ (propagated-inputs
+ `(("python-ipykernel" ,python-ipykernel)
+ ("python-ipython" ,python-ipython)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "http://jupyter.org")
+ (synopsis "Jupyter Qt console")
+ (description "This package provides a Qt-based console for Jupyter with
+support for rich media output.")
+ (license license:bsd-3)))
+
(define-public jupyter
(package
(name "jupyter")
- branch master updated (8ef0655 -> 9fb5771), guix-commits, 2019/01/02
- 02/20: gnu: python-configargparse: Use INVOKE., guix-commits, 2019/01/02
- 15/20: gnu: python-ipython: Remove dependency on python-jupyter-core-minimal., guix-commits, 2019/01/02
- 01/20: gnu: python-docopt: Use INVOKE., guix-commits, 2019/01/02
- 04/20: gnu: python-hy: Use INVOKE., guix-commits, 2019/01/02
- 03/20: gnu: python-clint: Use INVOKE., guix-commits, 2019/01/02
- 06/20: gnu: Add python-prompt-toolkit-1., guix-commits, 2019/01/02
- 13/20: gnu: python-widgetsnbextension: Update to 3.4.2., guix-commits, 2019/01/02
- 14/20: gnu: python-ipywidgets: Enable tests., guix-commits, 2019/01/02
- 18/20: gnu: Add python-qtconsole.,
guix-commits <=
- 08/20: gnu: python-ipykernel: Update to 5.1.0., guix-commits, 2019/01/02
- 10/20: gnu: python-jupyter-client: Update to 5.2.4., guix-commits, 2019/01/02
- 12/20: gnu: Add python-send2trash., guix-commits, 2019/01/02
- 09/20: gnu: python-ipython: Break dependency on python-ipykernel., guix-commits, 2019/01/02
- 05/20: gnu: python-prompt-toolkit: Update to 2.0.7., guix-commits, 2019/01/02
- 11/20: gnu: Add python-prometheus-client., guix-commits, 2019/01/02
- 17/20: gnu: python-notebook: Update to 5.7.4., guix-commits, 2019/01/02
- 16/20: gnu: python-jupyter-console: Fix inputs., guix-commits, 2019/01/02
- 20/20: gnu: jupyter: Add missing dependency., guix-commits, 2019/01/02
- 19/20: gnu: python-terminado: Update to 0.8.1., guix-commits, 2019/01/02