diff options
-rw-r--r-- | pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix b/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix index 5b1bed18d96eb..b824fd0009708 100644 --- a/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix +++ b/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch, jupyter-contrib-core, jupyter-core, jupyter-server, @@ -16,26 +15,17 @@ buildPythonPackage rec { pname = "jupyter-nbextensions-configurator"; - version = "0.6.3"; - format = "setuptools"; + version = "0.6.4"; + pyproject = true; src = fetchFromGitHub { owner = "jupyter-contrib"; repo = "jupyter_nbextensions_configurator"; rev = "refs/tags/${version}"; - hash = "sha256-ovKYHATRAC5a5qTMv32ohU2gJd15/fRKXa5HI0zGp/0="; + hash = "sha256-U4M6pGV/DdE+DOVMVaoBXOhfRERt+yUa+gADgqRRLn4="; }; - patches = [ - # https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/pull/166 - (fetchpatch { - name = "notebook-v7-compat.patch"; - url = "https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/commit/a600cef9222ca0c61a6912eb29d8fa0323409705.patch"; - hash = "sha256-Rt9r5ZOgnhBcs18+ET5+k0/t980I2DiVN8oHkGLp0iw="; - }) - ]; - - propagatedBuildInputs = [ + dependencies = [ jupyter-contrib-core jupyter-core jupyter-server @@ -59,11 +49,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "jupyter_nbextensions_configurator" ]; - meta = with lib; { + meta = { description = "A jupyter notebook serverextension providing config interfaces for nbextensions"; mainProgram = "jupyter-nbextensions_configurator"; homepage = "https://github.com/jupyter-contrib/jupyter_nbextensions_configurator"; - license = licenses.bsd3; - maintainers = with maintainers; [ GaetanLepage ]; + changelog = "https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/releases/tag/${version}"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ GaetanLepage ]; }; } |