nixpkgs/pkgs/development/python-modules/widgetsnbextension/default.nix

29 lines
617 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, notebook
, ipywidgets
}:
buildPythonPackage rec {
pname = "widgetsnbextension";
name = "${pname}-${version}";
2017-08-24 18:34:20 +01:00
version = "3.0.2";
src = fetchPypi {
inherit pname version;
2017-08-24 18:34:20 +01:00
sha256 = "e8890d87c80782ee4ea3ed9afffc89a0af8b4ff475d1608d900f728ea55f041c";
};
propagatedBuildInputs = [ notebook ];
# No tests in archive
doCheck = false;
meta = {
description = "IPython HTML widgets for Jupyter";
homepage = http://ipython.org/;
license = ipywidgets.meta.license; # Build from same repo
maintainers = with lib.maintainers; [ fridh ];
};
}