1 { lib, stdenv, fetchFromGitHub, postgresql, python3 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-O30czHwEDXz5xY4o3MWhmEK06OKTKMQCy0M6qwSEpy8=";
14 nativeBuildInputs = [ python3 ];
15 buildInputs = [ postgresql ];
18 patchShebangs ./tools/splitconfig
21 configureFlags = [ "--enable-shared --disable-documentation" ];
24 description = "A C++ library to access PostgreSQL databases";
25 homepage = "https://pqxx.org/development/libpqxx/";
26 license = lib.licenses.bsd3;
27 platforms = lib.platforms.unix;
28 maintainers = [ lib.maintainers.eelco ];