From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: [PATCH 4/5] gnu: Add libpqxx. Date: Tue, 13 Sep 2016 18:59:40 +0200 Message-ID: <20160913165941.2834-5-janneke@gnu.org> References: <87eg4o9pl9.fsf@gnu.org> <20160913165941.2834-1-janneke@gnu.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjr3q-00021J-P2 for guix-devel@gnu.org; Tue, 13 Sep 2016 12:59:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjr3p-0006CB-NY for guix-devel@gnu.org; Tue, 13 Sep 2016 12:59:54 -0400 In-Reply-To: <20160913165941.2834-1-janneke@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/ci.scm (libpqxx): New variable. --- gnu/packages/ci.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index ec51bb3..555c255 100644 --- a/gnu/packages/ci.scm +++ b/gnu/packages/ci.scm @@ -33,6 +33,7 @@ #:use-module (gnu packages package-management) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages web) @@ -63,6 +64,32 @@ collector daemon in use at Etsy.com.") (license (package-license perl)))) +(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 l:bsd-3))) + (define-public hydra (let ((commit "4c0e3e47034545ad3e9e86dd069138bcebb8ccee")) (package -- 2.10.0