summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2022-12-12 13:50:45 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2022-12-13 11:18:59 +0100
commit752b65935d90a54645460033989969790a07862c (patch)
tree3215e733e9e6461bfa20897fa525bfb3ef27976a
parent206b97c10252712ce23bae2cbf45a66d850b2d87 (diff)
gnu: Add cl-font-discovery.
* gnu/packages/lisp-xyz.scm (cl-font-discovery, ecl-font-discovery, sbcl-font-discovery): New variables.
-rw-r--r--gnu/packages/lisp-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 7892f28005..6cc0ffd9cb 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20012,6 +20012,38 @@ developing library for Common Lisp.")
(define-public cl-liballegro
(sbcl-package->cl-source-package sbcl-cl-liballegro))
+(define-public sbcl-font-discovery
+ (let ((commit "5101ca79151055f3ec9839aae73b8af42b884528")
+ (revision "1"))
+ (package
+ (name "sbcl-font-discovery")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Shinmera/font-discovery")
+ (commit commit)))
+ (file-name (git-file-name "font-discovery" version))
+ (sha256
+ (base32 "1p9wkwc23rnif8vcjaj5ih1fmr5g57sidqjlz08qw6k0z4f6bia1"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-cffi sbcl-documentation-utils sbcl-trivial-indent))
+ (home-page "https://shinmera.github.io/font-discovery/")
+ (synopsis "Find system font files matching a font spec")
+ (description
+ "This is a library to find system font files. It works on systems with
+FontConfig on Linux, BSD. It does not have any foreign dependencies that
+aren't already directly available on the system.")
+ (license license:zlib))))
+
+(define-public ecl-font-discovery
+ (sbcl-package->ecl-package sbcl-font-discovery))
+
+(define-public cl-font-discovery
+ (sbcl-package->cl-source-package sbcl-font-discovery))
+
(define-public sbcl-alloy
(let ((commit "e86e22c2887836ec31cd97e039f0bca5248d8f1c")
(revision "1"))