diff --git a/pkgs/development/python-modules/pytest-postgresql/default.nix b/pkgs/development/python-modules/pytest-postgresql/default.nix index 8aaab0f13a69..c989f2748348 100644 --- a/pkgs/development/python-modules/pytest-postgresql/default.nix +++ b/pkgs/development/python-modules/pytest-postgresql/default.nix @@ -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 ]; }; }