guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: Add libpqxx.


From: Leo Famulari
Subject: 04/05: gnu: Add libpqxx.
Date: Wed, 14 Sep 2016 19:43:26 +0000 (UTC)

lfam pushed a commit to branch master
in repository guix.

commit fe71eee076a9779d88ea613389f7f4a79c127627
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Tue Sep 13 14:07:13 2016 -0400

    gnu: Add libpqxx.
    
    * gnu/packages/databases.scm (libpqxx): New variable.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/databases.scm |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 5b2e25d..b316745 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2016 ng0 <address@hidden>
 ;;; Copyright © 2016 Roel Janssen <address@hidden>
 ;;; Copyright © 2016 David Craven <address@hidden>
+;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1093,3 +1094,29 @@ trees (LSM), for sustained throughput under random 
insert workloads.")
     (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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]