From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 07/16] gnu: Add python-nbformat. Date: Tue, 1 Nov 2016 13:20:37 +0100 Message-ID: <20161101122046.751-8-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]:55240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1Y4i-0001dr-GS for guix-devel@gnu.org; Tue, 01 Nov 2016 08:22:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1Y4f-0003Ib-BV for guix-devel@gnu.org; Tue, 01 Nov 2016 08:21:56 -0400 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:45897) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1Y4f-0003IP-5C for guix-devel@gnu.org; Tue, 01 Nov 2016 08:21:53 -0400 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 3AA51380DA0 for ; Tue, 1 Nov 2016 13:21:52 +0100 (CET) Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E2V8T9rd9xs4 for ; Tue, 1 Nov 2016 13:21:46 +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 pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for ; Tue, 1 Nov 2016 13:21:46 +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-nbformat, python2-nbformat): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ed736ff..590ba43 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6665,6 +6665,34 @@ Debian-related files, such as: (define-public python2-debian (package-with-python2 python-debian)) +(define-public python-nbformat + (package + (name "python-nbformat") + (version "4.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "nbformat" version)) + (sha256 + (base32 + "0mq8iki3d4mnx7wy05phss7x98mds4fqydin8lcagidp1knw1xnv")))) + (build-system python-build-system) + (arguments `(#:tests? #f)) ; no test target + (propagated-inputs + `(("python-ipython-genutils" ,python-ipython-genutils) + ("python-jsonschema" ,python-jsonschema) + ("python-jupyter-core" ,python-jupyter-core) + ("python-setuptools" ,python-setuptools) + ("python-traitlets" ,python-traitlets))) + (home-page "http://jupyter.org") + (synopsis "Jupyter Notebook format") + (description "This package provides the reference implementation of the +Jupyter Notebook format and Python APIs for working with notebooks.") + (license license:bsd-3))) + +(define-public python2-nbformat + (package-with-python2 python-nbformat)) + (define-public python-chardet (package (name "python-chardet") -- 2.10.1