nixpkgs/pkgs/development/libraries/libpqxx/default.nix

31 lines
739 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, postgresql, doxygen, xmlto, python2, gnused }:
2015-05-26 18:46:39 +00:00
stdenv.mkDerivation rec {
pname = "libpqxx";
version = "6.4.5";
2015-05-26 18:46:39 +00:00
src = fetchFromGitHub {
owner = "jtv";
repo = pname;
rev = version;
sha256 = "0djmjr2b5x5nd2a4idv5j8s6w0kdmvil910iv1kyc7x94dirbrni";
2015-05-26 18:46:39 +00:00
};
nativeBuildInputs = [ gnused python2 ];
buildInputs = [ postgresql doxygen xmlto ];
2015-05-26 18:46:39 +00:00
preConfigure = ''
patchShebangs .
'';
2018-07-25 21:44:21 +00:00
configureFlags = [ "--enable-shared" ];
2015-05-26 18:46:39 +00:00
meta = {
description = "A C++ library to access PostgreSQL databases";
homepage = "http://pqxx.org/development/libpqxx/";
2018-12-06 16:34:10 +00:00
license = lib.licenses.bsd3;
2015-05-26 18:46:39 +00:00
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.eelco ];
};
}