pythonPackages.ipywidgets: 5.2.2 -> 6.0.0
This commit is contained in:
parent
9a106b1c52
commit
2c00cd3bae
47
pkgs/development/python-modules/ipywidgets/default.nix
Normal file
47
pkgs/development/python-modules/ipywidgets/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -13144,28 +13144,7 @@ in {
|
||||
};
|
||||
|
||||
|
||||
ipywidgets = buildPythonPackage rec {
|
||||
version = "5.2.2";
|
||||
name = "ipywidgets-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/i/ipywidgets/${name}.tar.gz";
|
||||
sha256 = "baf6098f054dd5eacc2934b8ea3bef908b81ca8660d839f1f940255a72c660d2";
|
||||
};
|
||||
|
||||
# Tests are not distributed
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with self; [ nose pytest ];
|
||||
propagatedBuildInputs = with self; [ipython ipykernel traitlets notebook widgetsnbextension ];
|
||||
|
||||
meta = {
|
||||
description = "IPython HTML widgets for Jupyter";
|
||||
homepage = http://ipython.org/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fridh ];
|
||||
};
|
||||
};
|
||||
ipywidgets = callPackage ../development/python-modules/ipywidgets { };
|
||||
|
||||
ipaddr = buildPythonPackage rec {
|
||||
name = "ipaddr-2.1.10";
|
||||
|
Loading…
Reference in New Issue
Block a user