gnu: Add python-jupyter-server-mathjax.
* gnu/packages/jupyter.scm (python-jupyter-server-mathjax): New variable.
This commit is contained in:
		
							parent
							
								
									724731de4c
								
							
						
					
					
						commit
						7d79d30e3a
					
				
					 1 changed files with 33 additions and 0 deletions
				
			
		| 
						 | 
					@ -339,6 +339,39 @@ endpoints—to Jupyter web applications.")
 | 
				
			||||||
are interactive HTML widgets for Jupyter notebooks and the IPython kernel.")
 | 
					are interactive HTML widgets for Jupyter notebooks and the IPython kernel.")
 | 
				
			||||||
    (license license:bsd-3)))
 | 
					    (license license:bsd-3)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public python-jupyter-server-mathjax
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "python-jupyter-server-mathjax")
 | 
				
			||||||
 | 
					    (version "0.2.5")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (pypi-uri "jupyter_server_mathjax" version))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32 "1cz7grhj9jih9mgw4xk7a4bqy1fwlb1jsawh6ykxnvpydn76rnb4"))))
 | 
				
			||||||
 | 
					    (build-system python-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     (list
 | 
				
			||||||
 | 
					      #:phases
 | 
				
			||||||
 | 
					      #~(modify-phases %standard-phases
 | 
				
			||||||
 | 
					          (replace 'check
 | 
				
			||||||
 | 
					            (lambda* (#:key tests? #:allow-other-keys)
 | 
				
			||||||
 | 
					              (when tests?
 | 
				
			||||||
 | 
					                (with-directory-excursion "/tmp"
 | 
				
			||||||
 | 
					                  (invoke "pytest" "-vv"
 | 
				
			||||||
 | 
					                          "--pyargs" "jupyter_server_mathjax"))))))))
 | 
				
			||||||
 | 
					    (propagated-inputs (list python-jupyter-server))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     (list python-jupyter-server
 | 
				
			||||||
 | 
					           python-jupyter-packaging
 | 
				
			||||||
 | 
					           python-pytest
 | 
				
			||||||
 | 
					           python-pytest-tornasync))
 | 
				
			||||||
 | 
					    (home-page "https://jupyter.org")
 | 
				
			||||||
 | 
					    (synopsis "Jupyter Server extension for serving Mathjax")
 | 
				
			||||||
 | 
					    (description "This package provides a Jupyter Server extension for serving
 | 
				
			||||||
 | 
					Mathjax, the JavaScript display engine for mathematics.")
 | 
				
			||||||
 | 
					    (license license:bsd-3)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public python-nbclient
 | 
					(define-public python-nbclient
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "python-nbclient")
 | 
					    (name "python-nbclient")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue