GNU bug report logs -
#38423
add postgrest
Previous Next
Full log
Message #116 received at 38423 <at> debbugs.gnu.org (full text, mbox):
* 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)
This bug report was last modified 5 years and 198 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.