mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
29 lines
617 B
Nix
29 lines
617 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, notebook
|
|
, ipywidgets
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "widgetsnbextension";
|
|
name = "${pname}-${version}";
|
|
version = "2.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "566582a84642d0c0f78b756a954450a38a8743eeb8dad04b7cab3ca66f455e6f";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
} |