[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38423] [PATCH 40/49] gnu: Add ghc-hasql.
From: |
Robert Vollmert |
Subject: |
[bug#38423] [PATCH 40/49] gnu: Add ghc-hasql. |
Date: |
Fri, 29 Nov 2019 12:37:42 +0100 |
* gnu/packages/haskell-xyz.scm (ghc-hasql): New variable.
---
gnu/packages/haskell-xyz.scm | 48 ++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 4ca9ffa5ec..6f24921b5f 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -14155,3 +14155,51 @@ E.g., hasql is based on this library. It supports all
Postgres
versions starting from 8.3 and is tested against 8.3, 9.3 and 9.5
with the integer_datetimes setting off and on.")
(license license:expat)))
+
+(define-public ghc-hasql
+ (package
+ (name "ghc-hasql")
+ (version "1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/hasql/hasql-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0j2arb96i1dinpz1yxl2cjl4qhbljk9yph52cj9az50mvl8vx3w4"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-attoparsec" ,ghc-attoparsec)
+ ("ghc-postgresql-binary" ,ghc-postgresql-binary)
+ ("ghc-postgresql-libpq" ,ghc-postgresql-libpq)
+ ("ghc-bytestring-strict-builder"
+ ,ghc-bytestring-strict-builder)
+ ("ghc-dlist" ,ghc-dlist)
+ ("ghc-vector" ,ghc-vector)
+ ("ghc-hashtables" ,ghc-hashtables)
+ ("ghc-text-builder" ,ghc-text-builder)
+ ("ghc-hashable" ,ghc-hashable)
+ ("ghc-data-default-class"
+ ,ghc-data-default-class)
+ ("ghc-profunctors" ,ghc-profunctors)
+ ("ghc-contravariant-extras"
+ ,ghc-contravariant-extras)
+ ("ghc-contravariant" ,ghc-contravariant)
+ ("ghc-loch-th" ,ghc-loch-th)
+ ("ghc-placeholders" ,ghc-placeholders)
+ ("ghc-base-prelude" ,ghc-base-prelude)))
+ (arguments
+ `(#:tests? ; tests require a running postgres
+ #f))
+ (home-page
+ "https://github.com/nikita-volkov/hasql")
+ (synopsis
+ "An efficient PostgreSQL driver and a flexible mapping API")
+ (description
+ "This package is the root of the hasql ecosystem.
+The API is completely disinfected from exceptions.
+All error-reporting is explicit and is presented using the Either type.")
+ (license license:expat)))
--
2.21.0 (Apple Git-122.2)
- [bug#38423] [PATCH 29/49] gnu: Add ghc-lens-aeson., (continued)
- [bug#38423] [PATCH 29/49] gnu: Add ghc-lens-aeson., Robert Vollmert, 2019/11/29
- [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 <=
- [bug#38423] [PATCH 42/49] gnu: Add ghc-hasql-transaction., Robert Vollmert, 2019/11/29
- [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