Merge pull request #71340 from edef1c/pgsanity-deps

pythonPackages.pgsanity: add missing postgresql checkInput
This commit is contained in:
worldofpeace 2019-10-18 20:02:25 +00:00 committed by GitHub
commit 0e834b10f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@ buildPythonPackage rec {
${python.interpreter} -m unittest discover -s test ${python.interpreter} -m unittest discover -s test
''; '';
checkInputs = [ postgresql ];
propagatedBuildInputs = [ postgresql ]; propagatedBuildInputs = [ postgresql ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -24,13 +25,12 @@ buildPythonPackage rec {
description = "Checks the syntax of Postgresql SQL files"; description = "Checks the syntax of Postgresql SQL files";
longDescription = '' longDescription = ''
PgSanity checks the syntax of Postgresql SQL files by PgSanity checks the syntax of Postgresql SQL files by
taking a file that has a list of bare SQL in it, taking a file that has a list of bare SQL in it,
making that file look like a C file with embedded SQL, making that file look like a C file with embedded SQL,
run it through ecpg and run it through ecpg and
let ecpg report on the syntax errors of the SQL. let ecpg report on the syntax errors of the SQL.
''; '';
license = stdenv.lib.licenses.mit; license = stdenv.lib.licenses.mit;
maintainers = with maintainers; [ nalbyuites ]; maintainers = with maintainers; [ nalbyuites ];
broken = true;
}; };
} }