[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67019] [PATCH 04/16] gnu: Add ocaml-wtf8.
From: |
Philip McGrath |
Subject: |
[bug#67019] [PATCH 04/16] gnu: Add ocaml-wtf8. |
Date: |
Thu, 9 Nov 2023 11:26:26 -0500 |
* gnu/packages/ocaml.scm (ocaml-wtf8): New variable.
---
gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7993dbaa73..50b0d1ddb7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -29,6 +29,7 @@
;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org>
;;; Copyright © 2023 Csepp <raingloom@riseup.net>
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
+;;; Copyright © 2023 Philip McGrath <philip@philipmcgrath.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3655,6 +3656,30 @@ (define-public ocaml-uutf
string values and to directly encode characters in OCaml Buffer.t values.")
(license license:isc)))
+(define-public ocaml-wtf8
+ (package
+ (name "ocaml-wtf8")
+ (version "1.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/flow/ocaml-wtf8/releases/download/"
+ "v" version "/wtf8-v" version ".tbz"))
+ (sha256
+ (base32
+ "09ygcxxd5warkdzz17rgpidrd0pg14cy2svvnvy1hna080lzg7vp"))))
+ (build-system dune-build-system)
+ (home-page "https://github.com/flow/ocaml-wtf8")
+ (synopsis "OCaml encoder and decoder for @acronym{WTF-8}")
+ (description
+ "This library provides an OCaml encoder and decoder for @acronym{WTF-8,
+Wobbly Transformation Format---8 bit}, a superset of UTF-8 that allows
+unpaired surrogates while preserving the other well-formedness constraints of
+UTF-8. This format is useful for interoperating with systems that use
+potentially ill-formed UTF-16, notably including ECMAScript strings and
+Windows filesystems.")
+ (license license:expat)))
+
(define-public ocaml-uunf
(package
(name "ocaml-uunf")
--
2.41.0
[bug#67019] [PATCH 05/16] gnu: Add ocaml-visitors., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 06/16] gnu: Add ocaml-ppx-gen-rec., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 11/16] gnu: Add flow-remove-types., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 10/16] gnu: Add node-flow-parser., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 12/16] gnu: js-commander: Update to 11.1.0., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 04/16] gnu: Add ocaml-wtf8.,
Philip McGrath <=
[bug#67019] [PATCH 08/16] gnu: Add node-vlq., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 07/16] gnu: Add ocaml-dtoa., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 14/16] gnu: Add mftrace., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 09/16] gnu: Add ocaml-flow-parser., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 13/16] gnu: js-commander: Install as a node module., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 15/16] gnu: Add font-katex., Philip McGrath, 2023/11/09
[bug#67019] [PATCH 16/16] gnu: Add katex., Philip McGrath, 2023/11/09