guix-patches
[Top][All Lists]
Advanced

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

[bug#67921] [PATCH haskell-team 10/23] gnu: Add ghc-utf8-string-bootstra


From: Saku Laesvuori
Subject: [bug#67921] [PATCH haskell-team 10/23] gnu: Add ghc-utf8-string-bootstrap-for-9.6
Date: Fri, 7 Jun 2024 10:49:41 +0300

* gnu/packages/haskell.scm (ghc-utf8-string-bootstrap-for-9.6): New
  variable.

Change-Id: Iea2ba4d3202195a54b71037882352cdac9415901
---
 gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 4482fdb0d3..e9aa8f7524 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1751,6 +1751,28 @@ (define ghc-random-bootstrap-for-9.6
 library, including the ability to split random number generators.")
     (license license:bsd-3)))
 
+(define ghc-utf8-string-bootstrap-for-9.6
+  (package
+    (name "ghc-utf8-string-bootstrap")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "utf8-string" version))
+       (sha256
+        (base32 "16mh36ffva9rh6k37bi1046pgpj14h0cnmj1iir700v0lynxwj7f"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "utf8-string")))
+    (arguments `(#:tests? #f
+                 #:haskell ,ghc-bootstrap-for-9.6))
+    (home-page "https://github.com/glguy/utf8-string/";)
+    (synopsis "Support for reading and writing UTF8 Strings")
+    (description
+     "A UTF8 layer for Strings.  The utf8-string package provides operations
+for encoding UTF8 strings to Word8 lists and back, and for reading and writing
+UTF8 without truncation.")
+    (license license:bsd-3)))
+
 (define ghc-js-jquery-bootstrap-for-9.6
   (package
     (name "ghc-js-jquery-bootstrap")
-- 
2.41.0






reply via email to

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