Merge pull request #223296 from SuperSandro2000/asyncpg
python310Packages.asyncpg: use pytestCheckHook
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
, uvloop
|
||||
, postgresql
|
||||
, pythonOlder
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -24,8 +26,14 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
uvloop
|
||||
postgresql
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
rm -rf asyncpg/
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"asyncpg"
|
||||
];
|
||||
@@ -33,6 +41,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Asyncio PosgtreSQL driver";
|
||||
homepage = "https://github.com/MagicStack/asyncpg";
|
||||
changelog = "https://github.com/MagicStack/asyncpg/releases/tag/v${version}";
|
||||
longDescription = ''
|
||||
Asyncpg is a database interface library designed specifically for
|
||||
PostgreSQL and Python/asyncio. asyncpg is an efficient, clean
|
||||
|
||||
Reference in New Issue
Block a user