Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 65d0d8020703
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7cb817684279
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 18, 2019

  1. pythonPackages.pgsanity: add missing postgresql checkInput

    (cherry picked from commit a7aa69c)
    edef1c authored and worldofpeace committed Oct 18, 2019
    Copy the full SHA
    e5cc98f View commit details
  2. pythonPackages.pgsanity: don't mark broken

    (cherry picked from commit 625cad3)
    worldofpeace committed Oct 18, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7cb8176 View commit details
Showing with 4 additions and 4 deletions.
  1. +4 −4 pkgs/development/python-modules/pgsanity/default.nix
8 changes: 4 additions & 4 deletions pkgs/development/python-modules/pgsanity/default.nix
Original file line number Diff line number Diff line change
@@ -17,20 +17,20 @@ buildPythonPackage rec {
${python.interpreter} -m unittest discover -s test
'';

checkInputs = [ postgresql ];
propagatedBuildInputs = [ postgresql ];

meta = with stdenv.lib; {
homepage = "https://github.com/markdrago/pgsanity";
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;
};
}