diff options
| author | Winter <winter@winter.cafe> | 2022-08-06 12:32:04 -0400 |
|---|---|---|
| committer | Winter <winter@winter.cafe> | 2022-08-13 14:09:43 -0400 |
| commit | 19adc3341cf3adfdbd408646aedbf8e62ce3eece (patch) | |
| tree | eee99752039b7cba720978e962c0f3ee1685ebf4 /pkgs/development/python-modules/u-msgpack-python | |
| parent | e8fbb38a51380fe6e56351b5750dddcccff79c4c (diff) | |
treewide: migrate to pythonPackages.unittestCheckHook
Diffstat (limited to 'pkgs/development/python-modules/u-msgpack-python')
| -rw-r--r-- | pkgs/development/python-modules/u-msgpack-python/default.nix | 6 |
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"; |
