[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
118/232: gnu: Add python-nbdime.
From: |
guix-commits |
Subject: |
118/232: gnu: Add python-nbdime. |
Date: |
Sun, 24 Apr 2022 23:58:58 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 5ba7bc5c4cf92dc96604de1102bedf130a9a1a5e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 13 22:34:05 2022 -0400
gnu: Add python-nbdime.
* gnu/packages/jupyter.scm (python-nbdime): New variable.
---
gnu/packages/jupyter.scm | 57 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 56 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 88777bdf81..67c236abf1 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -30,6 +31,7 @@
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
#:use-module (gnu packages cpp)
+ #:use-module (gnu packages docker)
#:use-module (gnu packages linux)
#:use-module (gnu packages monitoring)
#:use-module (gnu packages networking)
@@ -46,7 +48,7 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages serialization)
- #:use-module (gnu packages docker))
+ #:use-module (gnu packages version-control))
(define-public python-jupyter-protocol
(package
@@ -397,6 +399,59 @@ Mathjax, the JavaScript display engine for mathematics.")
It was formerly known as nbconvert's @code{ExecutePreprocessor.}")
(license license:bsd-3)))
+(define-public python-nbdime
+ (package
+ (name "python-nbdime")
+ (version "3.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nbdime" version))
+ (sha256
+ (base32 "12v41lricbg713lzlfcx0cilfm9spndaanhp39q4ydvix4h76xk7"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-ipython-genutils
+ ;; TODO: Remove when a release newer than 3.1.1 is made.
+ (lambda _
+ (substitute* "nbdime/config.py"
+ (("from ipython_genutils import py3compat")
+ "")
+ (("py3compat\\.getcwd")
+ "os.getcwd")))))))
+ (propagated-inputs
+ (list python-colorama
+ python-gitpython
+ python-jinja2
+ python-jupyter-server
+ python-jupyter-server-mathjax
+ python-nbformat
+ python-pygments
+ python-requests
+ python-tornado-6))
+ (native-inputs
+ (list python-jupyter-server
+ python-mock
+ python-notebook
+ python-pytest
+ python-pytest-tornado
+ python-tabulate))
+ (home-page "https://nbdime.readthedocs.io")
+ (synopsis "Diff tools for Jupyter Notebooks")
+ (description "@code{nbdime} provides tools for diffing and merging of
+Jupyter Notebooks. It includes the following commands:
+@table @command
+@item nbdiff compare notebooks in a terminal-friendly way
+@item nbmerge three-way merge of notebooks with automatic conflict resolution
+@item nbdiff-web rich rendered diff of notebooks
+@item nbmerge-web web-based three-way merge tool for notebooks
+nbshow present a single notebook in a terminal-friendly way
+@end table")
+ (license license:bsd-3)))
+
(define-public repo2docker
(package
(name "repo2docker")
- 195/232: gnu: python-croniter: Update to 1.3.4., (continued)
- 195/232: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/04/24
- 205/232: gnu: python-keyring: Fix test suite., guix-commits, 2022/04/24
- 214/232: gnu: python-sphinx: Update to 4.5.0., guix-commits, 2022/04/24
- 218/232: gnu: python-sphinxcontrib-websupport: Update to 1.2.4., guix-commits, 2022/04/24
- 221/232: gnu: python-sphinx-cloud-sptheme: Update to 1.10.1 [still broken]., guix-commits, 2022/04/24
- 222/232: gnu: Add python-beartype., guix-commits, 2022/04/24
- 230/232: gnu: Add python-mpl-sphinx-theme., guix-commits, 2022/04/24
- 76/232: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/24
- 86/232: gnu: Add font-amiri., guix-commits, 2022/04/24
- 113/232: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/04/24
- 118/232: gnu: Add python-nbdime.,
guix-commits <=
- 134/232: gnu: Add python-strict-rfc3339., guix-commits, 2022/04/24
- 136/232: gnu: Add python-openapi-schema-validator., guix-commits, 2022/04/24
- 146/232: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/04/24
- 141/232: gnu: Add python-httpx-bootstrap., guix-commits, 2022/04/24
- 150/232: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/04/24
- 166/232: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/04/24
- 144/232: gnu: Add python-socksio., guix-commits, 2022/04/24
- 148/232: gnu: Add python-aioredis., guix-commits, 2022/04/24
- 154/232: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/04/24
- 165/232: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/04/24