Unverified Commit 96f4a027 authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

python3Packages.pgsanity: fix build

This needs postgresql instead of libpq, because it depends on the ecpg
binary.
parent 7dbeb1be
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  fetchPypi,
  buildPythonPackage,
  libpq,
  postgresql,
  unittestCheckHook,
}:

@@ -22,7 +22,10 @@ buildPythonPackage rec {

  unittestFlagsArray = [ "test" ];

  propagatedBuildInputs = [ libpq ];
  propagatedBuildInputs = [ postgresql ];

  # To find "ecpg"
  nativeBuildInputs = [ (lib.getDev postgresql) ];

  meta = with lib; {
    homepage = "https://github.com/markdrago/pgsanity";