[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/14: gnu: Add libgrapheme.
From: |
guix-commits |
Subject: |
14/14: gnu: Add libgrapheme. |
Date: |
Sun, 31 Mar 2024 21:34:51 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 6e2db85ca83528199a46b002d2592bd4bef017c8
Author: cage <cage-dev@twistfold.it>
AuthorDate: Sun Mar 31 21:19:02 2024 -0400
gnu: Add libgrapheme.
* gnu/packages/suckless.scm (libgrapheme): New variable.
Change-Id: I307cf5e765eb6a9964f369b4a66b00b2a7830fcd
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/suckless.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 577c2b3278..a907b2fc6b 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
;;; Copyright © 2024 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2024 cage <cage-dev@twistfold.it>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -896,6 +897,38 @@ strings(1) but for pictures. For a given input file it
outputs a
colormap to stdout.")
(license license:isc)))
+(define-public libgrapheme
+ (package
+ (name "libgrapheme")
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://dl.suckless.org/libgrapheme/libgrapheme-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32 "099i2jm9c25nkbg5420wr12z0gd189gcw5j1ssjmpmbbwzfvv2x6"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:tests? #true
+ #:test-target "test"
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'configure 'post-configure
+ (lambda _
+ ;; Remove ldconfing invocation in Makefile, which
+ ;; is not needed in Guix.
+ (substitute* "config.mk"
+ (("ldconfig") "")))))
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" #$output))))
+ (home-page "https://libs.suckless.org/libgrapheme/")
+ (synopsis "C99 library for Unicode strings")
+ (description "Libgrapheme is a simple freestanding C99 library providing
+utilities to handle strings according to the Unicode standard.")
+ (license license:isc)))
+
;; No new releases were made at github, this repository is more active than
;; the one at http://git.suckless.org/libutf/ and it is
;; done by the same developer.
- branch master updated (1cba1f8ce6 -> 6e2db85ca8), guix-commits, 2024/03/31
- 07/14: gnu: Add emacs-memory-usage., guix-commits, 2024/03/31
- 05/14: doc: cookbook: Fix typo., guix-commits, 2024/03/31
- 03/14: gnu: gnunet: Update to 0.21.1., guix-commits, 2024/03/31
- 04/14: gnu: gnunet-gtk: Update to 0.21.0., guix-commits, 2024/03/31
- 08/14: gnu: Add python-pods., guix-commits, 2024/03/31
- 11/14: gnu: x-resize: Update to 0.3., guix-commits, 2024/03/31
- 12/14: gnu: geary: Update to 44.1., guix-commits, 2024/03/31
- 09/14: gnu: dbus-for-jami: Use Gexp., guix-commits, 2024/03/31
- 14/14: gnu: Add libgrapheme.,
guix-commits <=
- 01/14: gnu: libmicrohttpd: Update to 1.0.1., guix-commits, 2024/03/31
- 02/14: gnu: gnurl: Update to 7.72.0., guix-commits, 2024/03/31
- 10/14: gnu: guile-lib: Update to 0.2.8., guix-commits, 2024/03/31
- 06/14: gnu: xfce: Add support for volume keyboard buttons., guix-commits, 2024/03/31
- 13/14: gnu: qmk: Support custom keyboards., guix-commits, 2024/03/31