From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44052) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaedE-0004q7-KW for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaedA-0003k8-HI for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:14 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53621) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaed9-0003hI-H7 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaed9-0006JM-F0 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:11 -0500 Subject: [bug#38423] [PATCH 39/49] gnu: Add ghc-postgresql-libpq. Resent-Message-ID: From: Robert Vollmert Date: Fri, 29 Nov 2019 12:37:41 +0100 Message-Id: <20191129113751.82405-39-rob@vllmrt.net> In-Reply-To: <20191129113751.82405-1-rob@vllmrt.net> References: <20191129113751.82405-1-rob@vllmrt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38423@debbugs.gnu.org Cc: Robert Vollmert * gnu/packages/haskell-xyz.scm (ghc-postgresql-libpq): New variable. --- gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index efe751fa88..4ca9ffa5ec 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -42,12 +42,14 @@ #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages compression) + #:use-module (gnu packages databases) #:use-module (gnu packages emacs) #:use-module (gnu packages gcc) #:use-module (gnu packages gl) #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) #:use-module (gnu packages haskell-apps) + #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-crypto) #:use-module (gnu packages haskell-web) @@ -8620,6 +8622,33 @@ standard Read class, for better deserialisation of Haskell values from Strings.") (license license:lgpl2.1))) +(define-public ghc-postgresql-libpq + (package + (name "ghc-postgresql-libpq") + (version "0.9.4.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/postgresql-libpq/postgresql-libpq-" + version + ".tar.gz")) + (sha256 + (base32 + "1y86kysakfcf3zq252yl2llrx3765vxvkdwda4q5ql7ikv3m786f")))) + (build-system haskell-build-system) + (inputs + `(("postgresql" ,postgresql))) + (home-page + "https://github.com/phadej/postgresql-libpq") + (synopsis "low-level binding to libpq") + (description + "This is a binding to libpq: the C application programmer's interface +to PostgreSQL. libpq is a set of library functions that allow client +programs to pass queries to the PostgreSQL backend server and to receive +the results of these queries.") + (license license:bsd-3))) + (define-public ghc-pqueue (package (name "ghc-pqueue") -- 2.21.0 (Apple Git-122.2)