nbconvert: 5.2.1 -> 5.3.1, enable tests

This commit is contained in:
Robin Gloster 2017-10-23 14:53:43 +02:00
parent 62ca1c2dab
commit 54a83423f0
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
1 changed files with 7 additions and 8 deletions

View File

@ -3,6 +3,7 @@
, fetchPypi , fetchPypi
, pytest , pytest
, nose , nose
, glibcLocales
, entrypoints , entrypoints
, bleach , bleach
, mistune , mistune
@ -21,15 +22,15 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "nbconvert"; pname = "nbconvert";
version = "5.2.1"; version = "5.3.1";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "9ed68ec7fe90a8672b43795b29ea91cc75ea355c83debc83ebd12171521ec274"; sha256 = "1f9dkvpx186xjm4xab0qbph588mncp4vqk3fmxrsnqs43mks9c8j";
}; };
checkInputs = [ nose pytest ]; checkInputs = [ nose pytest glibcLocales ];
propagatedBuildInputs = [ propagatedBuildInputs = [
entrypoints bleach mistune jinja2 pygments traitlets testpath entrypoints bleach mistune jinja2 pygments traitlets testpath
@ -37,16 +38,14 @@ buildPythonPackage rec {
]; ];
checkPhase = '' checkPhase = ''
nosetests -v mkdir tmp
LC_ALL=en_US.utf8 HOME=`realpath tmp` py.test -v
''; '';
# PermissionError. Likely due to being in a chroot
doCheck = false;
meta = { meta = {
description = "Converting Jupyter Notebooks"; description = "Converting Jupyter Notebooks";
homepage = http://jupyter.org/; homepage = http://jupyter.org/;
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ]; maintainers = with lib.maintainers; [ fridh globin ];
}; };
} }