From 5c72e8416984879bd7bd884a392b7c915c28171a Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sat, 11 Apr 2020 11:01:27 -0400 Subject: [PATCH] pythonPackages.awkward1: use pytestCheckHook --- pkgs/development/python-modules/awkward1/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/awkward1/default.nix b/pkgs/development/python-modules/awkward1/default.nix index 5c57efca3bd..ce0d5e747c0 100644 --- a/pkgs/development/python-modules/awkward1/default.nix +++ b/pkgs/development/python-modules/awkward1/default.nix @@ -4,7 +4,7 @@ , cmake , numba , numpy -, pytest +, pytestCheckHook , rapidjson }: @@ -23,10 +23,8 @@ buildPythonPackage rec { dontUseCmakeConfigure = true; - checkInputs = [ pytest numba ]; - checkPhase = '' - py.test - ''; + checkInputs = [ pytestCheckHook numba ]; + dontUseSetuptoolsCheck = true; meta = with lib; { description = "Manipulate JSON-like data with NumPy-like idioms";