Merge pull request #291713 from mweinelt/orjson-3.9.15

python311Packages.orjson: 3.9.13 -> 3.9.15

authored by Martin Weinelt and committed by GitHub a711d619 a5a29baf

+20 -3
+20 -3
pkgs/development/python-modules/orjson/default.nix
··· 19 19 , pytz 20 20 , xxhash 21 21 , python 22 + 23 + # for passthru.tests 24 + , falcon 25 + , fastapi 26 + , gradio 27 + , mashumaro 28 + , ufolib2 22 29 }: 23 30 24 31 buildPythonPackage rec { 25 32 pname = "orjson"; 26 - version = "3.9.13"; 33 + version = "3.9.15"; 27 34 pyproject = true; 28 35 29 36 disabled = pythonOlder "3.7"; ··· 32 39 owner = "ijl"; 33 40 repo = "orjson"; 34 41 rev = "refs/tags/${version}"; 35 - hash = "sha256-p6nkzEHFTKCBr7Wte2wvzh1TlzwweADZON8gm2pT224="; 42 + hash = "sha256-6fcj64d/uFCxaez+xxOdHd+NqILKOPqK+YlxYX7D0DI="; 36 43 }; 37 44 38 45 cargoDeps = rustPlatform.fetchCargoTarball { 39 46 inherit src; 40 47 name = "${pname}-${version}"; 41 - hash = "sha256-2c8XgQILhAvR8HUqoEIOfYeiV1lR9UyIJXWDuNeVZsE="; 48 + hash = "sha256-/Aa3saUP4QjSBIS9T8Vd0yggiJn2SIk7dYMA5icb1yA="; 42 49 }; 43 50 44 51 maturinBuildFlags = [ "--interpreter ${python.executable}" ]; ··· 66 73 pythonImportsCheck = [ 67 74 "orjson" 68 75 ]; 76 + 77 + passthru.tests = { 78 + inherit 79 + falcon 80 + fastapi 81 + gradio 82 + mashumaro 83 + ufolib2 84 + ; 85 + }; 69 86 70 87 meta = with lib; { 71 88 description = "Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy";