unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jan Nieuwenhuizen <janneke@gnu.org>
To: guix-devel@gnu.org
Subject: [PATCH 4/5] gnu: Add libpqxx.
Date: Tue, 13 Sep 2016 18:59:40 +0200	[thread overview]
Message-ID: <20160913165941.2834-5-janneke@gnu.org> (raw)
In-Reply-To: <20160913165941.2834-1-janneke@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

  parent reply	other threads:[~2016-09-13 16:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-09 21:09 [PATCH] gnu: Resurrect hydra Jan Nieuwenhuizen
2016-09-13  8:22 ` Ludovic Courtès
2016-09-13 16:59   ` Jan Nieuwenhuizen
2016-09-13 16:59     ` [PATCH 1/5] gnu: perl-gd: disable tests Jan Nieuwenhuizen
2016-09-13 16:59     ` [PATCH 2/5] gnu: perl-image-magick: " Jan Nieuwenhuizen
2016-09-13 16:59     ` [PATCH 3/5] gnu: Add perl-net-statsd Jan Nieuwenhuizen
2016-09-13 16:59     ` Jan Nieuwenhuizen [this message]
2016-09-13 16:59     ` [PATCH 5/5] gnu: Resurrect hydra Jan Nieuwenhuizen
2016-09-14 19:44       ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160913165941.2834-5-janneke@gnu.org \
    --to=janneke@gnu.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).