pythonPackages.ipywidgets: 5.2.2 -> 6.0.0

This commit is contained in:
Frederik Rietdijk
2017-04-18 10:43:30 +02:00
parent 9a106b1c52
commit 2c00cd3bae
2 changed files with 48 additions and 22 deletions

View File

@@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, nose
, pytest
, mock
, ipython
, ipykernel
, traitlets
, notebook
, widgetsnbextension
}:
buildPythonPackage rec {
pname = "ipywidgets";
version = "6.0.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "afa6248850cff14ef86117db87aeab0b12237e4eaf740e73716460ed593a43a7";
};
# Tests are not distributed
# doCheck = false;
buildInputs = [ nose pytest mock ];
propagatedBuildInputs = [
ipython
ipykernel
traitlets
notebook
widgetsnbextension
];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
meta = {
description = "IPython HTML widgets for Jupyter";
homepage = http://ipython.org/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}