python310Packages.nbformat: 5.5.0 -> 5.7.0

+18 -20
+18 -20
pkgs/development/python-modules/nbformat/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , pythonOlder 3 4 , fetchPypi 5 + , hatchling 6 + , hatch-nodejs-version 4 7 , fastjsonschema 5 - , flit-core 6 - , pytestCheckHook 7 - , glibcLocales 8 - , ipython_genutils 9 - , traitlets 10 - , testpath 11 8 , jsonschema 12 9 , jupyter_core 10 + , traitlets 13 11 , pep440 12 + , pytestCheckHook 13 + , testpath 14 14 }: 15 15 16 16 buildPythonPackage rec { 17 17 pname = "nbformat"; 18 - version = "5.5.0"; 18 + version = "5.7.0"; 19 + 20 + disabled = pythonOlder "3.7"; 21 + 19 22 format = "pyproject"; 20 23 21 24 src = fetchPypi { 22 25 inherit pname version; 23 - sha256 = "sha256-nr4w5sOz5bR9Of8KOJehrPUj0r+vy04tBM23D4pmxQc="; 26 + sha256 = "1d4760c15c1a04269ef5caf375be8b98dd2f696e5eb9e603ec2bf091f9b0d3f3"; 24 27 }; 25 28 26 29 nativeBuildInputs = [ 27 - flit-core 30 + hatchling 31 + hatch-nodejs-version 28 32 ]; 29 - 30 - LC_ALL="en_US.utf8"; 31 33 32 34 propagatedBuildInputs = [ 33 35 fastjsonschema 34 - ipython_genutils 35 36 jsonschema 36 37 jupyter_core 38 + traitlets 39 + ]; 40 + 41 + checkInputs = [ 37 42 pep440 43 + pytestCheckHook 38 44 testpath 39 - traitlets 40 45 ]; 41 - 42 - checkInputs = [ pytestCheckHook glibcLocales ]; 43 - 44 - preCheck = '' 45 - mkdir tmp 46 - export HOME=tmp 47 - ''; 48 46 49 47 # Some of the tests use localhost networking. 50 48 __darwinAllowLocalNetworking = true;