2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2023-08-10 07:59:29 +00:00
|
|
|
, ipython_genutils
|
2023-08-04 22:07:22 +00:00
|
|
|
, jupyter-contrib-core
|
|
|
|
, jupyter-highlight-selected-word
|
|
|
|
, jupyter-nbextensions-configurator
|
|
|
|
, lxml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter-contrib-nbextensions";
|
|
|
|
version = "0.7.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ipython-contrib";
|
|
|
|
repo = "jupyter_contrib_nbextensions";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-1o8tBfRw6jNcKfNE7xXrQaEhx+KOv7mLOruvuMDtJ1Q=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2023-08-10 07:59:29 +00:00
|
|
|
ipython_genutils
|
2023-08-04 22:07:22 +00:00
|
|
|
jupyter-contrib-core
|
|
|
|
jupyter-highlight-selected-word
|
|
|
|
jupyter-nbextensions-configurator
|
|
|
|
lxml
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "jupyter_contrib_nbextensions" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A collection of various notebook extensions for Jupyter";
|
|
|
|
homepage = "https://github.com/ipython-contrib/jupyter_contrib_nbextensions";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ GaetanLepage ];
|
|
|
|
};
|
|
|
|
}
|