1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, nose 6, entrypoints 7, bleach 8, mistune 9, jinja2 10, pygments 11, traitlets 12, testpath 13, jupyter_core 14, nbformat 15, nbconvert 16, ipykernel 17, pandocfilters 18, tornado 19, jupyter_client 20}: 21 22buildPythonPackage rec { 23 pname = "nbconvert"; 24 version = "5.2.1"; 25 name = "${pname}-${version}"; 26 27 src = fetchPypi { 28 inherit pname version; 29 sha256 = "9ed68ec7fe90a8672b43795b29ea91cc75ea355c83debc83ebd12171521ec274"; 30 }; 31 32 checkInputs = [ nose pytest ]; 33 34 propagatedBuildInputs = [ 35 entrypoints bleach mistune jinja2 pygments traitlets testpath 36 jupyter_core nbformat ipykernel pandocfilters tornado jupyter_client 37 ]; 38 39 checkPhase = '' 40 nosetests -v 41 ''; 42 43 # PermissionError. Likely due to being in a chroot 44 doCheck = false; 45 46 meta = { 47 description = "Converting Jupyter Notebooks"; 48 homepage = http://jupyter.org/; 49 license = lib.licenses.bsd3; 50 maintainers = with lib.maintainers; [ fridh ]; 51 }; 52}