diff options
Diffstat (limited to 'pkgs/development/python-modules/nbdime/default.nix')
-rw-r--r-- | pkgs/development/python-modules/nbdime/default.nix | 57 |
1 files changed, 25 insertions, 32 deletions
diff --git a/pkgs/development/python-modules/nbdime/default.nix b/pkgs/development/python-modules/nbdime/default.nix index 855192fa5ec5..7a873014640e 100644 --- a/pkgs/development/python-modules/nbdime/default.nix +++ b/pkgs/development/python-modules/nbdime/default.nix @@ -1,49 +1,44 @@ -{ lib -, buildPythonPackage -, pythonOlder -, fetchPypi -, hatch-jupyter-builder -, hatchling -, jupyterlab -, nbformat -, colorama -, pygments -, tornado -, requests -, gitpython -, jupyter-server -, jupyter-server-mathjax -, jinja2 -, git -, pytest-tornado -, pytestCheckHook +{ + lib, + buildPythonPackage, + pythonOlder, + fetchPypi, + hatch-jupyter-builder, + hatchling, + jupyterlab, + nbformat, + colorama, + pygments, + tornado, + requests, + gitpython, + jupyter-server, + jupyter-server-mathjax, + jinja2, + git, + pytest-tornado, + pytestCheckHook, }: buildPythonPackage rec { pname = "nbdime"; - version = "4.0.1"; + version = "4.0.2"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-8adgwLAMG6m0lFwWzpJXfzk/tR0YTzUbdoW6boUCCY4="; + hash = "sha256-2Cefj0sjbAslOyDWDEgxu2eEPtjb1uCfI06wEdNvG/I="; }; - patches = [ - # this fixes the webserver (nbdiff-web) when jupyter-server >=2.13 is used - # see https://github.com/jupyter/nbdime/issues/749 - ./749.patch - ]; - - nativeBuildInputs = [ + build-system = [ hatch-jupyter-builder hatchling jupyterlab ]; - propagatedBuildInputs = [ + dependencies = [ nbformat colorama pygments @@ -76,9 +71,7 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; - pythonImportsCheck = [ - "nbdime" - ]; + pythonImportsCheck = [ "nbdime" ]; meta = with lib; { homepage = "https://github.com/jupyter/nbdime"; |