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:
parent
e8fbb38a51
commit
19adc3341c
82 changed files with 278 additions and 417 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue