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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
736 B
Nix
Raw Normal View History

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