pythonPackages.orm: Cleanup, use pytestCheckHook
This commit is contained in:
parent
2365b3c2cd
commit
b6cc16250e
@ -4,8 +4,9 @@
|
|||||||
, databases
|
, databases
|
||||||
, typesystem
|
, typesystem
|
||||||
, aiosqlite
|
, aiosqlite
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytestcov
|
, pytestcov
|
||||||
|
, typing-extensions
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -26,13 +27,12 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
aiosqlite
|
aiosqlite
|
||||||
pytest
|
pytestCheckHook
|
||||||
pytestcov
|
pytestcov
|
||||||
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [ "orm" ];
|
||||||
PYTHONPATH=$PYTHONPATH:. pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An async ORM";
|
description = "An async ORM";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user