1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, nose 6, glibcLocales 7, entrypoints 8, bleach 9, mistune 10, jinja2 11, pygments 12, traitlets 13, testpath 14, jupyter_core 15, nbformat 16, nbconvert 17, ipykernel 18, pandocfilters 19, tornado 20, jupyter_client 21}: 22 23buildPythonPackage rec { 24 pname = "nbconvert"; 25 version = "5.3.1"; 26 name = "${pname}-${version}"; 27 28 src = fetchPypi { 29 inherit pname version; 30 sha256 = "1f9dkvpx186xjm4xab0qbph588mncp4vqk3fmxrsnqs43mks9c8j"; 31 }; 32 33 checkInputs = [ nose pytest glibcLocales ]; 34 35 propagatedBuildInputs = [ 36 entrypoints bleach mistune jinja2 pygments traitlets testpath 37 jupyter_core nbformat ipykernel pandocfilters tornado jupyter_client 38 ]; 39 40 checkPhase = '' 41 mkdir tmp 42 LC_ALL=en_US.UTF-8 HOME=`realpath tmp` py.test -v 43 ''; 44 45 meta = { 46 description = "Converting Jupyter Notebooks"; 47 homepage = http://jupyter.org/; 48 license = lib.licenses.bsd3; 49 maintainers = with lib.maintainers; [ fridh globin ]; 50 }; 51}