nixpkgs/pkgs/development/libraries/libpqxx/default.nix
Ryan Mulligan d1982e8ae7 libpqxx: 6.1.0 -> 6.1.1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/kk2j3iz4kllp58v3k0jy88pr78gqb53d-libpqxx-6.1.1/bin/pqxx-config -h` got 0 exit code
- ran `/nix/store/kk2j3iz4kllp58v3k0jy88pr78gqb53d-libpqxx-6.1.1/bin/pqxx-config --help` got 0 exit code
- ran `/nix/store/kk2j3iz4kllp58v3k0jy88pr78gqb53d-libpqxx-6.1.1/bin/pqxx-config help` got 0 exit code
- ran `/nix/store/kk2j3iz4kllp58v3k0jy88pr78gqb53d-libpqxx-6.1.1/bin/pqxx-config -V` and found version 6.1.1
- ran `/nix/store/kk2j3iz4kllp58v3k0jy88pr78gqb53d-libpqxx-6.1.1/bin/pqxx-config -v` and found version 6.1.1
- ran `/nix/store/kk2j3iz4kllp58v3k0jy88pr78gqb53d-libpqxx-6.1.1/bin/pqxx-config --version` and found version 6.1.1
- ran `/nix/store/kk2j3iz4kllp58v3k0jy88pr78gqb53d-libpqxx-6.1.1/bin/pqxx-config version` and found version 6.1.1
- ran `/nix/store/kk2j3iz4kllp58v3k0jy88pr78gqb53d-libpqxx-6.1.1/bin/pqxx-config -h` and found version 6.1.1
- ran `/nix/store/kk2j3iz4kllp58v3k0jy88pr78gqb53d-libpqxx-6.1.1/bin/pqxx-config --help` and found version 6.1.1
- ran `/nix/store/kk2j3iz4kllp58v3k0jy88pr78gqb53d-libpqxx-6.1.1/bin/pqxx-config help` and found version 6.1.1
- found 6.1.1 with grep in /nix/store/kk2j3iz4kllp58v3k0jy88pr78gqb53d-libpqxx-6.1.1
- directory tree listing: https://gist.github.com/5915a75a4c094a7918ab2b42fc150b80
2018-03-24 22:58:03 -05:00

30 lines
753 B
Nix

{ lib, stdenv, fetchFromGitHub, postgresql, doxygen, xmlto, python2, gnused }:
stdenv.mkDerivation rec {
name = "libpqxx-${version}";
version = "6.1.1";
src = fetchFromGitHub {
owner = "jtv";
repo = "libpqxx";
rev = version;
sha256 = "0yw0wvnpw0j560f5zv4gvmafi19d9hrknwjzl7qrss926aqx65jq";
};
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 ];
};
}