libpqxx: 6.4.5 -> 7.5.2

This commit is contained in:
Babbaj 2021-06-17 15:55:41 -04:00
parent 4c971831b7
commit 3979f8df9e
No known key found for this signature in database
GPG key ID: F044309848A07CAC

View file

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