diff options
author | Robert Schütz <nix@dotlambda.de> | 2022-11-07 21:02:10 -0800 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2022-11-07 21:21:04 -0800 |
commit | 77306d371e34fb03ffe8daa356d9ea0ce31d9eba (patch) | |
tree | 347eefbfcd6b1f740373f52b2fce61f624145ab0 /pkgs/development/python-modules/nbformat | |
parent | 45ab6cf9c84d74734200391aa872e79ad32f789d (diff) |
python310Packages.nbformat: 5.5.0 -> 5.7.0
Diffstat (limited to 'pkgs/development/python-modules/nbformat')
-rw-r--r-- | pkgs/development/python-modules/nbformat/default.nix | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/nbformat/default.nix b/pkgs/development/python-modules/nbformat/default.nix index fabee5f10a2b5..a418e5c6b48fa 100644 --- a/pkgs/development/python-modules/nbformat/default.nix +++ b/pkgs/development/python-modules/nbformat/default.nix @@ -1,50 +1,48 @@ { lib , buildPythonPackage +, pythonOlder , fetchPypi +, hatchling +, hatch-nodejs-version , fastjsonschema -, flit-core -, pytestCheckHook -, glibcLocales -, ipython_genutils -, traitlets -, testpath , jsonschema , jupyter_core +, traitlets , pep440 +, pytestCheckHook +, testpath }: buildPythonPackage rec { pname = "nbformat"; - version = "5.5.0"; + version = "5.7.0"; + + disabled = pythonOlder "3.7"; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-nr4w5sOz5bR9Of8KOJehrPUj0r+vy04tBM23D4pmxQc="; + sha256 = "1d4760c15c1a04269ef5caf375be8b98dd2f696e5eb9e603ec2bf091f9b0d3f3"; }; nativeBuildInputs = [ - flit-core + hatchling + hatch-nodejs-version ]; - LC_ALL="en_US.utf8"; - propagatedBuildInputs = [ fastjsonschema - ipython_genutils jsonschema jupyter_core - pep440 - testpath traitlets ]; - checkInputs = [ pytestCheckHook glibcLocales ]; - - preCheck = '' - mkdir tmp - export HOME=tmp - ''; + checkInputs = [ + pep440 + pytestCheckHook + testpath + ]; # Some of the tests use localhost networking. __darwinAllowLocalNetworking = true; |