Commit | Line | Data |
---|---|---|
2cde4a96 LC |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages jupyter) | |
20 | #:use-module ((guix licenses) #:prefix license:) | |
21 | #:use-module (guix packages) | |
22 | #:use-module (guix download) | |
23 | #:use-module (guix build-system python) | |
24 | #:use-module (gnu packages check) | |
25 | #:use-module (gnu packages python) | |
26 | #:use-module (gnu packages python-xyz) | |
27 | #:use-module (gnu packages time)) | |
28 | ||
29 | (define-public python-jupyter-protocol | |
30 | (package | |
31 | (name "python-jupyter-protocol") | |
32 | (version "0.1.1") | |
33 | (source (origin | |
34 | (method url-fetch) | |
35 | (uri (pypi-uri "jupyter_protocol" version)) | |
36 | (sha256 | |
37 | (base32 | |
38 | "1bk3as5yw9y5nmq6l15nr46aby34phmvsx9kxgqnm5pd5q2b5h57")))) | |
39 | (build-system python-build-system) | |
40 | (propagated-inputs | |
41 | `(("python-dateutil" ,python-dateutil) | |
42 | ("python-jupyter-core" ,python-jupyter-core) | |
43 | ("python-pyzmq" ,python-pyzmq) | |
44 | ("python-traitlets" ,python-traitlets))) | |
45 | (native-inputs | |
46 | `(("python-ipykernel" ,python-ipykernel) | |
47 | ("python-ipython" ,python-ipython) | |
48 | ("python-mock" ,python-mock) | |
49 | ("python-pytest" ,python-pytest))) | |
50 | (home-page "https://jupyter.org") | |
51 | (synopsis "Jupyter protocol implementation") | |
52 | (description | |
53 | "This Python library is an experimental implementation of the | |
54 | @uref{https://jupyter-client.readthedocs.io/en/latest/messaging.html, Jupyter | |
55 | protocol} to be used by both clients and kernels.") | |
56 | (license license:bsd-3) | |
57 | (properties '((upstream-name . "jupyter_protocol"))))) |