pythonPackages.orm: Cleanup, use pytestCheckHook

This commit is contained in:
Sandro Jäckel
2021-01-04 10:37:46 +01:00
parent 2365b3c2cd
commit b6cc16250e

View File

@@ -4,8 +4,9 @@
, databases
, typesystem
, aiosqlite
, pytest
, pytestCheckHook
, pytestcov
, typing-extensions
}:
buildPythonPackage rec {
@@ -26,13 +27,12 @@ buildPythonPackage rec {
checkInputs = [
aiosqlite
pytest
pytestCheckHook
pytestcov
typing-extensions
];
checkPhase = ''
PYTHONPATH=$PYTHONPATH:. pytest
'';
pythonImportsCheck = [ "orm" ];
meta = with lib; {
description = "An async ORM";