From ca2179d89e7f8685f6bed0c2619cb8e6809765e5 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 10 Feb 2024 13:06:38 +0000 Subject: [PATCH] python3Packages.orjson: add some key reverse-dependencies to passthru.tests --- .../python-modules/orjson/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/development/python-modules/orjson/default.nix b/pkgs/development/python-modules/orjson/default.nix index 5ceddcfdd394..ede3b10fc718 100644 --- a/pkgs/development/python-modules/orjson/default.nix +++ b/pkgs/development/python-modules/orjson/default.nix @@ -19,6 +19,13 @@ , pytz , xxhash , python + +# for passthru.tests +, falcon +, fastapi +, gradio +, mashumaro +, ufolib2 }: buildPythonPackage rec { @@ -67,6 +74,16 @@ buildPythonPackage rec { "orjson" ]; + passthru.tests = { + inherit + falcon + fastapi + gradio + mashumaro + ufolib2 + ; + }; + meta = with lib; { description = "Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy"; homepage = "https://github.com/ijl/orjson";