9 buildPythonPackage rec {
12 format = "setuptools";
15 inherit pname version;
16 sha256 = "de0bbd6fe4f98bf5139cb5f466eac2e2abaf5a7b050b9e4867b87bf360873173";
24 unittestFlagsArray = [ "test" ];
26 propagatedBuildInputs = [ postgresql ];
29 homepage = "https://github.com/markdrago/pgsanity";
30 description = "Checks the syntax of Postgresql SQL files";
31 mainProgram = "pgsanity";
33 PgSanity checks the syntax of Postgresql SQL files by
34 taking a file that has a list of bare SQL in it,
35 making that file look like a C file with embedded SQL,
36 run it through ecpg and
37 let ecpg report on the syntax errors of the SQL.
39 license = licenses.mit;
40 maintainers = with maintainers; [ nalbyuites ];