[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38423] [PATCH 33/49] gnu: Add ghc-bytestring-strict-builder.
From: |
Robert Vollmert |
Subject: |
[bug#38423] [PATCH 33/49] gnu: Add ghc-bytestring-strict-builder. |
Date: |
Fri, 29 Nov 2019 12:37:35 +0100 |
* gnu/packages/haskell-xyz.scm (ghc-bytestring-strict-builder): New variable.
---
gnu/packages/haskell-xyz.scm | 43 ++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index acf8093de9..8637f5c637 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -13940,3 +13940,46 @@ they do not get forgotten so easily.")
It is especially well-suited for generating strict bytestrings, beating the
standard
builder by at least the factor of 4.")
(license license:expat)))
+
+(define-public ghc-bytestring-strict-builder
+ (package
+ (name "ghc-bytestring-strict-builder")
+ (version "0.4.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://hackage.haskell.org/package/bytestring-strict-builder/bytestring-strict-builder-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "17n6ll8k26312fgxbhws1yrswvy5dbsgyf57qksnj0akdssysy8q"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-semigroups" ,ghc-semigroups)
+ ("ghc-base-prelude" ,ghc-base-prelude)))
+ (native-inputs
+ `(("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-quickcheck-instances"
+ ,ghc-quickcheck-instances)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-rerebase" ,ghc-rerebase)))
+ (arguments
+ `(#:cabal-revision
+ ("1"
+ "1snn8qb17maa76zji75i4yfz9x8ci16xp6zwg6kgwb33lf06imnd")))
+ (home-page
+ "https://github.com/nikita-volkov/bytestring-strict-builder")
+ (synopsis
+ "An efficient strict bytestring builder")
+ (description
+ "According to
https://github.com/nikita-volkov/bytestring-builders-benchmark,
+this library provides on average the fastest builder of strict bytestrings.
+Practical benchmarks have proven it to be highly performant as well. The
+encoders from the postgresql-binary library have shown a stable performance
+improvement by factors of up to 10 after the migration from the standard
builder
+to bytestring-strict-builder.")
+ (license license:expat)))
--
2.21.0 (Apple Git-122.2)
- [bug#38423] [PATCH 19/49] gnu: Add ghc-data-bword., (continued)
- [bug#38423] [PATCH 19/49] gnu: Add ghc-data-bword., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 23/49] gnu: Add ghc-data-textual., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 13/49] gnu: Add ghc-insert-ordered-containers., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 28/49] gnu: Add ghc-concise., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 27/49] gnu: Add ghc-type-hint., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 39/49] gnu: Add ghc-postgresql-libpq., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 32/49] gnu: Add ghc-bytestring-tree-builder., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 22/49] gnu: Add ghc-data-serializer., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 49/49] gnu: Add postgrest service., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 48/49] gnu: Add postgrest., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 33/49] gnu: Add ghc-bytestring-strict-builder.,
Robert Vollmert <=
- [bug#38423] [PATCH 15/49] gnu: Add ghc-mtl-compat., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 20/49] gnu: Add ghc-data-dword., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 02/49] gnu: Add ghc-text-latin1., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 16/49] gnu: Add ghc-monad-time., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 25/49] gnu: Add ghc-network-ip., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 46/49] gnu: Add ghc-tasty-hspec., Robert Vollmert, 2019/11/29
- [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