python.pkgs.nbconvert: 5.1.1 -> 5.2.1
This commit is contained in:
parent
779767e650
commit
2957786355
52
pkgs/development/python-modules/nbconvert/default.nix
Normal file
52
pkgs/development/python-modules/nbconvert/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, nose
|
||||
, entrypoints
|
||||
, bleach
|
||||
, mistune
|
||||
, jinja2
|
||||
, pygments
|
||||
, traitlets
|
||||
, testpath
|
||||
, jupyter_core
|
||||
, nbformat
|
||||
, nbconvert
|
||||
, ipykernel
|
||||
, pandocfilters
|
||||
, tornado
|
||||
, jupyter_client
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nbconvert";
|
||||
version = "5.2.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9ed68ec7fe90a8672b43795b29ea91cc75ea355c83debc83ebd12171521ec274";
|
||||
};
|
||||
|
||||
checkInputs = [ nose pytest ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
entrypoints bleach mistune jinja2 pygments traitlets testpath
|
||||
jupyter_core nbformat ipykernel pandocfilters tornado jupyter_client
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -v
|
||||
'';
|
||||
|
||||
# PermissionError. Likely due to being in a chroot
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Converting Jupyter Notebooks";
|
||||
homepage = http://jupyter.org/;
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
}
|
@ -14806,33 +14806,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
nbconvert = buildPythonPackage rec {
|
||||
version = "5.1.1";
|
||||
name = "nbconvert-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/n/nbconvert/${name}.tar.gz";
|
||||
sha256 = "847731bc39829d0eb1e15a450ac98c71730e3598e53683d4d76a3f3b3fc5017d";
|
||||
};
|
||||
|
||||
buildInputs = with self; [nose ipykernel ];
|
||||
|
||||
propagatedBuildInputs = with self; [ entrypoints bleach mistune jinja2 pygments traitlets testpath jupyter_core nbformat ipykernel pandocfilters tornado jupyter_client];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -v
|
||||
'';
|
||||
|
||||
# PermissionError. Likely due to being in a chroot
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Converting Jupyter Notebooks";
|
||||
homepage = http://jupyter.org/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fridh ];
|
||||
};
|
||||
};
|
||||
nbconvert = callPackage ../development/python-modules/nbconvert { };
|
||||
|
||||
nbformat = callPackage ../development/python-modules/nbformat { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user