Merge pull request #126996 from babbaj/master
This commit is contained in:
commit
c1ec670147
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user