python312Packages.pytest-postrgesql: fix on darwin sandbox (#393658)

This commit is contained in:
Gaétan Lepage
2025-03-27 10:36:39 +01:00
committed by GitHub
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pytestCheckHook,
pytest-cov-stub,
setuptools,
@@ -18,8 +17,6 @@ buildPythonPackage rec {
version = "6.0.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ClearcodeHQ";
repo = "pytest-postgresql";
@@ -35,7 +32,7 @@ buildPythonPackage rec {
buildInputs = [ pytest ];
propagatedBuildInputs = [
dependencies = [
mirakuru
port-for
psycopg
@@ -65,11 +62,13 @@ buildPythonPackage rec {
"pytest_postgresql.executor"
];
meta = with lib; {
__darwinAllowLocalNetworking = true;
meta = {
homepage = "https://pypi.python.org/pypi/pytest-postgresql";
description = "Pytest plugin that enables you to test code on a temporary PostgreSQL database";
changelog = "https://github.com/ClearcodeHQ/pytest-postgresql/blob/v${version}/CHANGES.rst";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ bcdarwin ];
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}