guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 9abcf2b9c69c751bd8a40ee1cb9d7984d3d5b5ff
Author: gnuphilic <>
AuthorDate: Thu Oct 9 23:57:09 2025 +0300

    gnu: add utfcpp-2
    
    * gnu/packages/textutils.scm (utfcpp-2): New variable
    
    Change-Id: I3a682b22424794349a00c773aeba2ebc9343bf44
    Signed-off-by: Ekaitz Zarraga <[email protected]>
---
 gnu/packages/textutils.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 7b290f048b..715b9c4f98 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -847,6 +847,35 @@ spreadsheets and outputs it in comma-separated-value 
format, and
 in a portable way.")
     (license license:boost1.0)))
 
+(define-public utfcpp-2
+  (package
+    (inherit utfcpp)
+    (name (package-name utfcpp))
+    (version "2.3.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/nemtrif/utfcpp";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1gr98d826z6wa58r1s5i7rz7q2x3r31v7zj0pjjlrc7gfxwklr4s"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:out-of-source? #f
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install              ; no install target
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (include (string-append out "/include"))
+                    (doc (string-append out "/share/doc/" ,name)))
+               (copy-recursively "source" include)
+               (install-file "README.md" doc)))))))
+    (native-inputs '())))
+
+
 (define-public dbacl
   (package
     (name "dbacl")

Reply via email to