diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 230d857d2c3..377a2d7ed30 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16683,6 +16683,12 @@ in modules // { url = "mirror://pypi/p/pgspecial/${name}.tar.gz"; }; + buildInputs = with self; [ pytest psycopg2 ]; + + checkPhase = '' + py.test tests + ''; + propagatedBuildInputs = with self; [ click sqlparse ]; meta = {