1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libpqxx/default.nix
2015-05-27 13:21:50 +02:00

27 lines
649 B
Nix

{ lib, stdenv, fetchurl, postgresql, python }:
stdenv.mkDerivation rec {
name = "libpqxx-4.0.1";
src = fetchurl {
url = "http://pqxx.org/download/software/libpqxx/${name}.tar.gz";
sha256 = "0f6wxspp6rx12fkasanb0z2g2gc8dhcfwnxagx8wwqbpg6ifsz09";
};
buildInputs = [ postgresql python ];
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 ];
};
}