diff options
Diffstat (limited to 'pkgs/development/python-modules/pglast/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pglast/default.nix | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/pglast/default.nix b/pkgs/development/python-modules/pglast/default.nix index 4a3e4794bd77a..4fe0061f3392b 100644 --- a/pkgs/development/python-modules/pglast/default.nix +++ b/pkgs/development/python-modules/pglast/default.nix @@ -1,9 +1,10 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pythonOlder -, setuptools -, pytest +{ + lib, + buildPythonPackage, + fetchPypi, + pythonOlder, + setuptools, + pytest, }: buildPythonPackage rec { @@ -18,18 +19,14 @@ buildPythonPackage rec { hash = "sha256-mGP7o52Wun6AdE2jMAJBmLR10EmN50qzbMzB06BFXMg="; }; - propagatedBuildInputs = [ - setuptools - ]; + propagatedBuildInputs = [ setuptools ]; postPatch = '' substituteInPlace setup.cfg \ --replace "--cov=pglast --cov-report term-missing" "" ''; - nativeCheckInputs = [ - pytest - ]; + nativeCheckInputs = [ pytest ]; # pytestCheckHook doesn't work # ImportError: cannot import name 'parse_sql' from 'pglast' @@ -47,7 +44,7 @@ buildPythonPackage rec { description = "PostgreSQL Languages AST and statements prettifier"; changelog = "https://github.com/lelit/pglast/blob/v${version}/CHANGES.rst"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ marsam ]; + maintainers = with maintainers; [ ]; mainProgram = "pgpp"; }; } |