GNU bug report logs - #67019
[PATCH 00/16] gnu: Add KaTeX, lessc, and flow-remove-types.

Previous Next

Package: guix-patches;

Reported by: Philip McGrath <philip <at> philipmcgrath.com>

Date: Thu, 9 Nov 2023 16:09:02 UTC

Severity: normal

Tags: patch

Full log


Message #104 received at 67019 <at> debbugs.gnu.org (full text, mbox):

From: Philip McGrath <philip <at> philipmcgrath.com>
To: 67019 <at> debbugs.gnu.org
Cc: Philip McGrath <philip <at> philipmcgrath.com>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: [PATCH v2 07/16] gnu: Add ocaml-dtoa.
Date: Thu, 16 Nov 2023 14:15:45 -0500
* gnu/packages/ocaml.scm (ocaml-dtoa): New variable.
---
 gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b12c12fad5..36f349df73 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2513,6 +2513,30 @@ (define-public ocaml4.07-fmt
                   "0gkkkj4x678vxdda4xaw2dd44qjacavsvn5nx8gydfwah6pjbkxk"))))
       (properties '()))))
 
+(define-public ocaml-dtoa
+  (package
+    (name "ocaml-dtoa")
+    (version "0.3.3")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append "https://github.com/flow/ocaml-dtoa/releases/"
+                              "download/v" version "/dtoa-" version ".tbz"))
+              (sha256
+               (base32
+                "0gpfr6iyiihmkpas542916cnhfdbrigvzwrix8jrxcljks661x6q"))))
+    (build-system dune-build-system)
+    (native-inputs (list ocaml-ounit2))
+    (home-page "https://github.com/flow/ocaml-dtoa")
+    (synopsis
+     "Efficent float to string conversion for OCaml")
+    (description
+     "This package provides functions that convert OCaml floats into strings
+quickly, accurately, and (almost always) optimally using the Grisu3 algorithm.
+The implementation was adapted from a C++ library originally developed as part
+of the V8 JavaScript engine.")
+    (license license:expat)))
+
 (define-public ocaml-astring
   (package
     (name "ocaml-astring")
-- 
2.41.0





This bug report was last modified 1 year and 216 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.