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

31 lines
757 B
Nix
Raw Normal View History

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