1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00

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