summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/u-msgpack-python
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/u-msgpack-python')
-rw-r--r--pkgs/development/python-modules/u-msgpack-python/default.nix6
1 files changed, 2 insertions, 4 deletions
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";