depot/third_party/nixpkgs/pkgs/development/python-modules/jupyter-contrib-nbextensions/default.nix

39 lines
956 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, ipython_genutils
, 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 = [
ipython_genutils
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 ];
};
}