From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44145) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaedH-0004tM-84 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaedC-0003nq-S9 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:17 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaedB-0003lB-CO for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaedB-0006Jv-9v for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:13 -0500 Subject: [bug#38423] [PATCH 41/49] gnu: Add ghc-hasql-pool. Resent-Message-ID: From: Robert Vollmert Date: Fri, 29 Nov 2019 12:37:43 +0100 Message-Id: <20191129113751.82405-41-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-hasql-pool): New variable. --- gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 6f24921b5f..79091ddae4 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -14203,3 +14203,31 @@ with the integer_datetimes setting off and on.") The API is completely disinfected from exceptions. All error-reporting is explicit and is presented using the Either type.") (license license:expat))) + +(define-public ghc-hasql-pool + (package + (name "ghc-hasql-pool") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hasql-pool/hasql-pool-" + version + ".tar.gz")) + (sha256 + (base32 + "0agl5ilp0amsp9pidhmgivdyaq43x3xi7hb80c91n9l92pv6163k")))) + (build-system haskell-build-system) + (inputs + `(("ghc-resource-pool" ,ghc-resource-pool) + ("ghc-hasql" ,ghc-hasql) + ("ghc-base-prelude" ,ghc-base-prelude))) + (arguments + `(#:tests? ; tests require a running postgres + #f)) + (home-page + "https://github.com/nikita-volkov/hasql-pool") + (synopsis "A pool of connections for Hasql") + (description "A pool of connections for Hasql") + (license license:expat))) -- 2.21.0 (Apple Git-122.2)