From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 03/16] gnu: Add python-jupyter-client. Date: Tue, 1 Nov 2016 13:20:33 +0100 Message-ID: <20161101122046.751-4-ricardo.wurmus@mdc-berlin.de> References: <20161101122046.751-1-ricardo.wurmus@mdc-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1Y4C-0001Gh-2C for guix-devel@gnu.org; Tue, 01 Nov 2016 08:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1Y4B-00039J-3A for guix-devel@gnu.org; Tue, 01 Nov 2016 08:21:24 -0400 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:44782) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1Y4A-000392-St for guix-devel@gnu.org; Tue, 01 Nov 2016 08:21:23 -0400 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id 0521D67C985 for ; Tue, 1 Nov 2016 13:21:22 +0100 (CET) Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W5MZnfUdS-vW for ; Tue, 1 Nov 2016 13:21:16 +0100 (CET) Received: from HTCAONE.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS for ; Tue, 1 Nov 2016 13:21:16 +0100 (CET) In-Reply-To: <20161101122046.751-1-ricardo.wurmus@mdc-berlin.de> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/python.scm (python-jupyter-client, python2-jupyter-client): New variables. --- gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index da16647..09ce599 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4525,6 +4525,38 @@ without using the configuration machinery.") (define-public python2-jupyter-core (package-with-python2 python-jupyter-core)) +(define-public python-jupyter-client + (package + (name "python-jupyter-client") + (version "4.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jupyter_client" version)) + (sha256 + (base32 + "1vjjrpjw7k5sh982pbjnslv7byfbfazjw9g92jvs7dz5qbx556n9")))) + (build-system python-build-system) + ;; Tests fail because of missing native python kernel which I assume is + ;; provided by the ipython package, which we cannot use because it would + ;; cause a dependency cycle. + (arguments `(#:tests? #f)) + (propagated-inputs + `(("python-pyzmq" ,python-pyzmq) + ("python-traitlets" ,python-traitlets) + ("python-jupyter-core" ,python-jupyter-core))) + (home-page "http://jupyter.org/") + (synopsis "Jupyter protocol implementation and client libraries") + (description + "The @code{jupyter_client} package contains the reference implementation +of the Jupyter protocol. It also provides client and kernel management APIs +for working with kernels, and the @code{jupyter kernelspec} entrypoint for +installing kernelspecs for use with Jupyter frontends.") + (license license:bsd-3))) + +(define-public python2-jupyter-client + (package-with-python2 python-jupyter-client)) + (define-public python-ipython (package (name "python-ipython") -- 2.10.1