[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/20: gnu: Add ocaml-bigstringaf.
From: |
guix-commits |
Subject: |
15/20: gnu: Add ocaml-bigstringaf. |
Date: |
Sun, 6 Jun 2021 11:17:51 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 6f4f9c4d5519979740de9d74b343414349cab79a
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Tue Jun 1 20:22:58 2021 +0000
gnu: Add ocaml-bigstringaf.
* gnu/ocaml/packages.scm (ocaml-bigstringaf): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index e05d8fd..a8d7828 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6591,3 +6591,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)))
- 04/20: gnu: ocaml-lwt: Make libev a propagated input., (continued)
- 04/20: gnu: ocaml-lwt: Make libev a propagated input., guix-commits, 2021/06/06
- 06/20: gnu: ocaml4.07-gen: Update to 0.5.3., guix-commits, 2021/06/06
- 07/20: gnu: Add ocaml-gen., guix-commits, 2021/06/06
- 11/20: gnu: Add ocaml-ppxlib., guix-commits, 2021/06/06
- 13/20: gnu: Add ocaml-uunf., guix-commits, 2021/06/06
- 14/20: gnu: Add ocaml-ppx-sexp-conv., guix-commits, 2021/06/06
- 17/20: gnu: Add ocaml-syntax-shims., guix-commits, 2021/06/06
- 18/20: gnu: Add ocaml-ppx-compare., guix-commits, 2021/06/06
- 20/20: gnu: Add ocaml-ppx-cold., guix-commits, 2021/06/06
- 12/20: gnu: Add ocaml-sedlex., guix-commits, 2021/06/06
- 15/20: gnu: Add ocaml-bigstringaf.,
guix-commits <=
- 16/20: gnu: Add ocaml-ppx-let., guix-commits, 2021/06/06
- 19/20: gnu: Add ocaml-ppx-here., guix-commits, 2021/06/06