[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38423] [PATCH 38/49] gnu: Add ghc-postgresql-binary.
From: |
Robert Vollmert |
Subject: |
[bug#38423] [PATCH 38/49] gnu: Add ghc-postgresql-binary. |
Date: |
Fri, 29 Nov 2019 12:37:40 +0100 |
* gnu/packages/haskell-xyz.scm (ghc-postgresql-binary): New variable.
---
gnu/packages/haskell-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 88dd872b9e..efe751fa88 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -14084,3 +14084,45 @@ This allows sets such as all reals x such that:
Alternatively you can have all strings s such that:
(\"F\" <= s < \"G\")")
(license license:bsd-3)))
+
+(define-public ghc-postgresql-binary
+ (package
+ (name "ghc-postgresql-binary")
+ (version "0.12.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://hackage.haskell.org/package/postgresql-binary/postgresql-binary-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "10h5299fxqmfz0kxyvivfy396q35gzg60spnjagyha33kx5m3bc3"))))
+ (build-system haskell-build-system)
+ (arguments `(#:tests? #f)) ; relies on running postgres
+ (inputs
+ `(("ghc-binary-parser" ,ghc-binary-parser)
+ ("ghc-bytestring-strict-builder"
+ ,ghc-bytestring-strict-builder)
+ ("ghc-aeson" ,ghc-aeson)
+ ("ghc-uuid" ,ghc-uuid)
+ ("ghc-scientific" ,ghc-scientific)
+ ("ghc-vector" ,ghc-vector)
+ ("ghc-network-ip" ,ghc-network-ip)
+ ("ghc-unordered-containers"
+ ,ghc-unordered-containers)
+ ("ghc-loch-th" ,ghc-loch-th)
+ ("ghc-placeholders" ,ghc-placeholders)
+ ("ghc-base-prelude" ,ghc-base-prelude)))
+ (home-page
+ "https://github.com/nikita-volkov/postgresql-binary")
+ (synopsis
+ "Encoders and decoders for the PostgreSQL's binary format")
+ (description
+ "An API for dealing with PostgreSQL's binary data format.
+It can be used to implement performant bindings to Postgres.
+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)))
--
2.21.0 (Apple Git-122.2)
- [bug#38423] [PATCH 43/49] gnu: Add ghc-swagger2., (continued)
- [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, 2019/11/29
- [bug#38423] [PATCH 38/49] gnu: Add ghc-postgresql-binary.,
Robert Vollmert <=
- [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