lol

python310Packages.nbformat: 5.5.0 -> 5.7.0

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