python3Packages.mido: convert to pytestCheckHook, add pythonImportsCheck
This commit is contained in:
parent
854822d2a3
commit
878a2ec6d5
@ -1,6 +1,13 @@
|
|||||||
{ stdenv, lib, buildPythonPackage, fetchPypi, substituteAll
|
{ stdenv
|
||||||
, portmidi, pygame, python-rtmidi, rtmidi-python
|
, lib
|
||||||
, pytest
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, substituteAll
|
||||||
|
, portmidi
|
||||||
|
, pygame
|
||||||
|
, python-rtmidi
|
||||||
|
, rtmidi-python
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -25,10 +32,13 @@ buildPythonPackage rec {
|
|||||||
rtmidi-python
|
rtmidi-python
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [
|
||||||
checkPhase = ''
|
pytestCheckHook
|
||||||
py.test . -rs -q
|
];
|
||||||
'';
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"mido"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "MIDI Objects for Python";
|
description = "MIDI Objects for Python";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user