python313Packages.pgspecial: skip tests on darwin as postgresqlTestHook is not available there

This commit is contained in:
Sandro Jäckel
2025-09-03 14:01:11 +02:00
parent 006a9fffa6
commit 6f45122498
@@ -11,6 +11,7 @@
setuptools,
setuptools-scm,
sqlparse,
stdenv,
}:
buildPythonPackage rec {
@@ -34,6 +35,9 @@ buildPythonPackage rec {
psycopg
];
# postgresqlTestHook is not available on Darwin
doCheck = stdenv.hostPlatform.isLinux;
nativeCheckInputs = [
configobj
pytestCheckHook