Merge pull request #126996 from babbaj/master

This commit is contained in:
Sandro 2021-06-18 10:39:44 +02:00 committed by GitHub
commit c1ec670147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,24 +1,24 @@
{ lib, stdenv, fetchFromGitHub, postgresql, doxygen, xmlto, python2, gnused }: { lib, stdenv, fetchFromGitHub, postgresql, python3, gnused }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libpqxx"; pname = "libpqxx";
version = "6.4.5"; version = "7.5.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jtv"; owner = "jtv";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0djmjr2b5x5nd2a4idv5j8s6w0kdmvil910iv1kyc7x94dirbrni"; sha256 = "15ifd28v6xbbx931icydy8xmkd8030b20xzqjja6vwwvzss2w9fa";
}; };
nativeBuildInputs = [ gnused python2 ]; nativeBuildInputs = [ gnused python3 ];
buildInputs = [ postgresql doxygen xmlto ]; buildInputs = [ postgresql ];
preConfigure = '' preConfigure = ''
patchShebangs . patchShebangs ./tools/splitconfig
''; '';
configureFlags = [ "--enable-shared" ]; configureFlags = [ "--enable-shared --disable-documentation" ];
meta = { meta = {
description = "A C++ library to access PostgreSQL databases"; description = "A C++ library to access PostgreSQL databases";