mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
pythonPackages.orm: Cleanup, use pytestCheckHook
This commit is contained in:
parent
2365b3c2cd
commit
b6cc16250e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user