My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/libraries/libpqxx/default.nix

31 lines
734 B

{ lib, stdenv, fetchFromGitHub, postgresql, python3 }:
9 years ago
stdenv.mkDerivation rec {
pname = "libpqxx";
version = "7.7.0";
9 years ago
src = fetchFromGitHub {
owner = "jtv";
repo = pname;
rev = version;
sha256 = "sha256-O30czHwEDXz5xY4o3MWhmEK06OKTKMQCy0M6qwSEpy8=";
9 years ago
};
nativeBuildInputs = [ python3 ];
buildInputs = [ postgresql ];
9 years ago
preConfigure = ''
patchShebangs ./tools/splitconfig
9 years ago
'';
configureFlags = [ "--enable-shared --disable-documentation" ];
9 years ago
meta = {
description = "A C++ library to access PostgreSQL databases";
homepage = "http://pqxx.org/development/libpqxx/";
license = lib.licenses.bsd3;
platforms = lib.platforms.unix;
9 years ago
maintainers = [ lib.maintainers.eelco ];
};
}