depot/third_party/nixpkgs/pkgs/development/libraries/libpqxx/6.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

30 lines
734 B
Nix

{ lib, stdenv, fetchFromGitHub, postgresql, doxygen, xmlto, python3, gnused }:
stdenv.mkDerivation rec {
pname = "libpqxx";
version = "6.4.8";
src = fetchFromGitHub {
owner = "jtv";
repo = pname;
rev = version;
hash = "sha256-ybnW9ip1QVadmbYLP+gvo49k9ExHfnsOhSnI6NjsAQk=";
};
nativeBuildInputs = [ gnused python3 ];
buildInputs = [ postgresql doxygen xmlto ];
preConfigure = ''
patchShebangs .
'';
configureFlags = [ "--enable-shared" ];
meta = {
description = "C++ library to access PostgreSQL databases";
homepage = "https://pqxx.org/development/libpqxx/";
license = lib.licenses.bsd3;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.eelco ];
};
}