[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47768] [PATCH 16/37] gnu: Add ocaml-bigstringaf.
From: |
pukkamustard |
Subject: |
[bug#47768] [PATCH 16/37] gnu: Add ocaml-bigstringaf. |
Date: |
Wed, 14 Apr 2021 11:12:42 +0200 |
* gnu/ocaml/packages.scm (ocaml-bigstringaf): New variable.
---
gnu/packages/ocaml.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c0d5d8a92a..b979dbd029 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6579,3 +6579,37 @@ provides support to program with time varying values:
declarative events and
signals. React doesn't define any primitive event or signal, it lets the
client chooses the concrete timeline.")
(license license:lgpl2.1+)))
+
+(define-public ocaml-bigstringaf
+ (package
+ (name "ocaml-bigstringaf")
+ (version "0.7.0")
+ (home-page "https://github.com/inhabitedtype/bigstringaf")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1q1sqxzdnlrpl95ccrhl7lwy3zswgd9rbn19ildclh0lyi2vazbj"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:test-target "."))
+ (propagated-inputs
+ `(("ocaml-bigarray-compat" ,ocaml-bigarray-compat)))
+ (native-inputs
+ `(("ocaml-alcotest" ,ocaml-alcotest)
+ ("pkg-config" ,pkg-config)))
+ (synopsis
+ "Bigstring intrinsics and fast blits based on memcpy/memmove")
+ (description
+ "The OCaml compiler has a bunch of intrinsics for Bigstrings, but they're
+not widely-known, sometimes misused, and so programs that use Bigstrings are
+slower than they have to be. And even if a library got that part right and
+exposed the intrinsics properly, the compiler doesn't have any fast blits
+between Bigstrings and other string-like types. @code{bigstringaf} provides
+these missing pieces.")
+ (license license:bsd-3)))
--
2.31.1
- [bug#47768] [PATCH 07/37] gnu: Add ocaml-gen., (continued)
[bug#47768] [PATCH 02/37] gnu: ocaml-ctypes: Update to 0.18.0., pukkamustard, 2021/04/14
[bug#47768] [PATCH 09/37] gnu: Add ocaml-compiler-libs., pukkamustard, 2021/04/14
[bug#47768] [PATCH 10/37] gnu: ocaml-migrate-parsetree: Update to 1.8.0., pukkamustard, 2021/04/14
[bug#47768] [PATCH 12/37] gnu: Add ocaml-ppxlib., pukkamustard, 2021/04/14
[bug#47768] [PATCH 13/37] gnu: Add ocaml-sedlex., pukkamustard, 2021/04/14
[bug#47768] [PATCH 14/37] gnu: Add ocaml-uunf., pukkamustard, 2021/04/14
[bug#47768] [PATCH 15/37] gnu: Add ocaml-ppx-sexp-conv., pukkamustard, 2021/04/14
[bug#47768] [PATCH 16/37] gnu: Add ocaml-bigstringaf.,
pukkamustard <=
[bug#47768] [PATCH 18/37] gnu: Add ocaml-syntax-shims., pukkamustard, 2021/04/14
[bug#47768] [PATCH 08/37] gnu: Add ocaml-stdio., pukkamustard, 2021/04/14
[bug#47768] [PATCH 11/37] gnu: ocaml-migrate-parsetree: Update to 2.1.0., pukkamustard, 2021/04/14
[bug#47768] [PATCH 23/37] gnu: Add ocaml-ppx-custom-printf., pukkamustard, 2021/04/14
[bug#47768] [PATCH 24/37] gnu: Add ocaml-ppx-hash., pukkamustard, 2021/04/14
[bug#47768] [PATCH 22/37] gnu: Add ocaml-ppx-assert., pukkamustard, 2021/04/14
[bug#47768] [PATCH 25/37] gnu: Add ocaml-ppx-enumerate., pukkamustard, 2021/04/14
[bug#47768] [PATCH 20/37] gnu: Add ocaml-ppx-here., pukkamustard, 2021/04/14
[bug#47768] [PATCH 34/37] gnu: Add ocaml-time-now., pukkamustard, 2021/04/14
[bug#47768] [PATCH 36/37] gnu: Add ocaml-angstrom., pukkamustard, 2021/04/14