guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#38423] [PATCH 32/49] gnu: Add ghc-bytestring-tree-builder.


From: Robert Vollmert
Subject: [bug#38423] [PATCH 32/49] gnu: Add ghc-bytestring-tree-builder.
Date: Fri, 29 Nov 2019 12:37:34 +0100

* gnu/packages/haskell-xyz.scm (ghc-bytestring-tree-builder): New variable.
---
 gnu/packages/haskell-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 26e5b2644d..acf8093de9 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -13905,3 +13905,38 @@ they do not get forgotten so easily.")
      "A highly-efficient but limited parser API specialised for bytestrings")
     (description "")
     (license license:expat)))
+
+(define-public ghc-bytestring-tree-builder
+  (package
+    (name "ghc-bytestring-tree-builder")
+    (version "0.2.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             
"https://hackage.haskell.org/package/bytestring-tree-builder/bytestring-tree-builder-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "03h2nmhyrr63gw4xmflsrmwf80gvayhs32wnpg3k9aqfjzpz4bd1"))))
+    (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)))
+    (home-page
+     "https://github.com/nikita-volkov/bytestring-tree-builder";)
+    (synopsis
+     "A very efficient ByteString builder implementation based on the binary 
tree")
+    (description
+     "According to the benchmarks this builder implementation beats all the 
alternatives.
+It is especially well-suited for generating strict bytestrings, beating the 
standard
+builder by at least the factor of 4.")
+    (license license:expat)))
-- 
2.21.0 (Apple Git-122.2)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]