mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
31 lines
757 B
Nix
31 lines
757 B
Nix
{ lib, stdenv, fetchFromGitHub, postgresql, doxygen, xmlto, python2, gnused }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libpqxx-${version}";
|
|
version = "6.2.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jtv";
|
|
repo = "libpqxx";
|
|
rev = version;
|
|
sha256 = "18fkyfa3a917ljmarf3jy8ycdhqzpc47cj87542sjpxnpaj9hy59";
|
|
};
|
|
|
|
nativeBuildInputs = [ gnused python2 ];
|
|
buildInputs = [ postgresql doxygen xmlto ];
|
|
|
|
preConfigure = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|