diff options
Diffstat (limited to 'pkgs/development/python-modules/jupytext/default.nix')
-rw-r--r-- | pkgs/development/python-modules/jupytext/default.nix | 50 |
1 files changed, 24 insertions, 26 deletions
diff --git a/pkgs/development/python-modules/jupytext/default.nix b/pkgs/development/python-modules/jupytext/default.nix index 699cb58e6c387..49ec1da72d0f8 100644 --- a/pkgs/development/python-modules/jupytext/default.nix +++ b/pkgs/development/python-modules/jupytext/default.nix @@ -1,47 +1,47 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchPypi -, hatch-jupyter-builder -, hatchling -, jupyter-client -, markdown-it-py -, mdit-py-plugins -, nbformat -, notebook -, packaging -, pytest-xdist -, pytestCheckHook -, pythonOlder -, pyyaml -, toml +{ + lib, + stdenv, + buildPythonPackage, + fetchPypi, + hatch-jupyter-builder, + hatchling, + jupyter-client, + markdown-it-py, + mdit-py-plugins, + nbformat, + notebook, + packaging, + pytest-xdist, + pytestCheckHook, + pythonOlder, + pyyaml, + tomli, }: buildPythonPackage rec { pname = "jupytext"; - version = "1.16.1"; + version = "1.16.2"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-aMe2hoXocOgOYP2oKG+9Ymnpx03B30MW32/kbqvJTJk="; + hash = "sha256-hifdm+y769ecxKTtRyfYnXjmBrS0ZOq3I1ezsCkCOhQ="; }; - nativeBuildInputs = [ + build-system = [ hatch-jupyter-builder hatchling ]; - propagatedBuildInputs = [ + dependencies = [ markdown-it-py mdit-py-plugins nbformat packaging pyyaml - toml - ]; + ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; nativeCheckInputs = [ jupyter-client @@ -56,9 +56,7 @@ buildPythonPackage rec { export PATH=$out/bin:$PATH; ''; - disabledTestPaths = [ - "tests/external" - ]; + disabledTestPaths = [ "tests/external" ]; disabledTests = lib.optionals stdenv.isDarwin [ # requires access to trash |