summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorgnuphilic <>2025-10-09 23:57:09 +0300
committerEkaitz Zarraga <ekaitz@elenq.tech>2025-10-14 15:48:37 +0200
commit9abcf2b9c69c751bd8a40ee1cb9d7984d3d5b5ff (patch)
tree40d236937afe0b0817065200762e3e497cc1a721 /gnu
parent783b58e1816b469a32b11b7f026e78e876951107 (diff)
gnu: add utfcpp-2
* gnu/packages/textutils.scm (utfcpp-2): New variable Change-Id: I3a682b22424794349a00c773aeba2ebc9343bf44 Signed-off-by: Ekaitz Zarraga <ekaitz@elenq.tech>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/textutils.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 7b290f048bb..715b9c4f986 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")