From fe71eee076a9779d88ea613389f7f4a79c127627 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Tue, 13 Sep 2016 14:07:13 -0400 Subject: gnu: Add libpqxx. * gnu/packages/databases.scm (libpqxx): New variable. Signed-off-by: Leo Famulari --- gnu/packages/databases.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 5b2e25dc27..b316745e47 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2016 ng0 ;;; Copyright © 2016 Roel Janssen ;;; Copyright © 2016 David Craven +;;; Copyright © 2016 Jan Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -1093,3 +1094,29 @@ (define-public lmdb (synopsis "Lightning memory-mapped database library") (description "Lightning memory-mapped database library.") (license license:openldap2.8))) + +(define-public libpqxx + (package + (name "libpqxx") + (version "4.0.1") + (source (origin + (method url-fetch) + (uri (string-append + "http://pqxx.org/download/software/libpqxx/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0f6wxspp6rx12fkasanb0z2g2gc8dhcfwnxagx8wwqbpg6ifsz09")))) + (build-system gnu-build-system) + (native-inputs + `(("python" ,python-2))) + (inputs `(("postgresql" ,postgresql))) + (arguments + `(#:tests? #f)) ; # FAIL: 1 + (synopsis "C++ connector for PostgreSQL") + (description + "Libpqxx is a C++ library to enable user programs to communicate with the +PostgreSQL database back-end. The database back-end can be local or it may be +on another machine, accessed via TCP/IP.") + (home-page "http://pqxx.org/") + (license license:bsd-3))) -- cgit v1.2.3