[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38423] [PATCH 42/49] gnu: Add ghc-hasql-transaction.
From: |
Robert Vollmert |
Subject: |
[bug#38423] [PATCH 42/49] gnu: Add ghc-hasql-transaction. |
Date: |
Fri, 29 Nov 2019 12:37:44 +0100 |
* gnu/packages/haskell-xyz.scm (ghc-hasql-transaction): New variable.
---
gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 79091ddae4..b8fc8a8960 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -14231,3 +14231,36 @@ All error-reporting is explicit and is presented using
the Either type.")
(synopsis "A pool of connections for Hasql")
(description "A pool of connections for Hasql")
(license license:expat)))
+
+(define-public ghc-hasql-transaction
+ (package
+ (name "ghc-hasql-transaction")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://hackage.haskell.org/package/hasql-transaction/hasql-transaction-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "13d5zisr34bdbiypvpcb114d4c9yi6pyb9wnhigqpwd90vzpzsb5"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-hasql" ,ghc-hasql)
+ ("ghc-bytestring-tree-builder"
+ ,ghc-bytestring-tree-builder)
+ ("ghc-contravariant" ,ghc-contravariant)
+ ("ghc-contravariant-extras"
+ ,ghc-contravariant-extras)
+ ("ghc-base-prelude" ,ghc-base-prelude)))
+ (arguments
+ `(#:tests? ; tests require a running postgres
+ #f))
+ (home-page
+ "https://github.com/nikita-volkov/hasql-transaction")
+ (synopsis
+ "A composable abstraction over retryable transactions for Hasql")
+ (description "A composable abstraction over retryable transactions for
Hasql")
+ (license license:expat)))
--
2.21.0 (Apple Git-122.2)
- [bug#38423] [PATCH 36/49] gnu: Add ghc-loch-th., (continued)
- [bug#38423] [PATCH 36/49] gnu: Add ghc-loch-th., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 43/49] gnu: Add ghc-swagger2., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 45/49] gnu: Add ghc-cassava., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 37/49] gnu: Add ghc-ranged-sets., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 35/49] gnu: Add ghc-interpolatedstring-perl6., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 41/49] gnu: Add ghc-hasql-pool., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 47/49] gnu: Add ghc-jose., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 17/49] gnu: Add ghc-bug., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 34/49] gnu: Add ghc-heredoc., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 40/49] gnu: Add ghc-hasql., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 42/49] gnu: Add ghc-hasql-transaction.,
Robert Vollmert <=
- [bug#38423] [PATCH 38/49] gnu: Add ghc-postgresql-binary., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 30/49] gnu: Add ghc-placeholders., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 44/49] gnu: Add ghc-configurator-pg., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 31/49] gnu: Add ghc-binary-parser., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 26/49] gnu: Add ghc-http-media., Robert Vollmert, 2019/11/29