Unverified Commit 082a6c94 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

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

parents b5c73b52 e30d3148
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -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 ];
  };
}