From b185471c21cdebc9b4167abc61138e9cd6fb1378 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 26 Nov 2024 08:55:08 +0100 Subject: [PATCH] python312Packages.jsonformatter: enable tests --- pkgs/development/python-modules/jsonformatter/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/jsonformatter/default.nix b/pkgs/development/python-modules/jsonformatter/default.nix index a8af9de60a87..9520d08100ca 100644 --- a/pkgs/development/python-modules/jsonformatter/default.nix +++ b/pkgs/development/python-modules/jsonformatter/default.nix @@ -1,7 +1,8 @@ { lib, - fetchFromGitHub, buildPythonPackage, + fetchFromGitHub, + pytestCheckHook, setuptools, }: @@ -19,6 +20,8 @@ buildPythonPackage rec { build-system = [ setuptools ]; + nativeCheckInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "jsonformatter" ]; meta = with lib; {