nixpkgs/pkgs/development/python-modules/widgetsnbextension/default.nix
2023-04-13 18:31:46 +02:00

33 lines
693 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jupyter-packaging
, notebook
, ipywidgets
}:
buildPythonPackage rec {
pname = "widgetsnbextension";
version = "4.0.7";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-6mfBenzUrjWPj0bDswTEBpi8BCNzLj8nMyHuFBIyyL4=";
};
nativeBuildInputs = [
jupyter-packaging
];
# No tests in archive
doCheck = false;
meta = {
description = "IPython HTML widgets for Jupyter";
homepage = "https://github.com/jupyter-widgets/ipywidgets/tree/master/python/widgetsnbextension";
license = ipywidgets.meta.license; # Build from same repo
maintainers = with lib.maintainers; [ fridh ];
};
}