1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-30 21:15:21 +03:00

treewide: migrate to pythonPackages.unittestCheckHook

This commit is contained in:
Winter 2022-08-06 12:32:04 -04:00
parent e8fbb38a51
commit 19adc3341c
82 changed files with 278 additions and 417 deletions

View file

@ -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";