From 19adc3341cf3adfdbd408646aedbf8e62ce3eece Mon Sep 17 00:00:00 2001 From: Winter Date: Sat, 6 Aug 2022 12:32:04 -0400 Subject: treewide: migrate to pythonPackages.unittestCheckHook --- pkgs/development/python-modules/u-msgpack-python/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'pkgs/development/python-modules/u-msgpack-python') diff --git a/pkgs/development/python-modules/u-msgpack-python/default.nix b/pkgs/development/python-modules/u-msgpack-python/default.nix index f44b7db455b1..1a82fe4b70a8 100644 --- a/pkgs/development/python-modules/u-msgpack-python/default.nix +++ b/pkgs/development/python-modules/u-msgpack-python/default.nix @@ -2,7 +2,7 @@ , lib , fetchPypi , glibcLocales -, python +, unittestCheckHook }: buildPythonPackage rec { @@ -18,9 +18,7 @@ buildPythonPackage rec { buildInputs = [ glibcLocales ]; - checkPhase = '' - ${python.interpreter} -m unittest discover - ''; + checkInputs = [ unittestCheckHook ]; meta = { description = "A portable, lightweight MessagePack serializer and deserializer written in pure Python"; -- cgit v1.2.3