summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorIgorj Gorjaĉev <igor@goryachev.org>2025-12-22 12:54:41 +0200
committerCayetano Santos <csantosb@inventati.org>2025-12-27 11:08:00 +0100
commitc71792b260ecefab643f8bf7968823af3ec52e11 (patch)
tree99c4dcd5efa749e3c17cd44703beb1dbec648abe /gnu
parent3f2b729589320ee60561ad94284a19e824b2dc52 (diff)
gnu: Add lexbor.
* gnu/packages/web.scm (lexbor): New variable. Closes guix/guix#4311 Change-Id: I11a4b5768e32980fe80516d0520209a4aa12f2d5 Reviewed-by: Cayetano Santos <csantosb@inventati.org> Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 41726c7ff1..a41665f169 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -79,6 +79,7 @@
;;; Copyright © 2025 Philippe Swartvagher <phil.swart@gmx.fr>
;;; Copyright © 2025 pinoaffe <pinoaffe@gmail.com>
;;; Copyright © 2025 gemmaro <gemmaro.dev@gmail.com>
+;;; Copyright © 2025 Igorj Gorjaĉev <igor@goryachev.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9989,6 +9990,32 @@ and read AWS CloudWatch logs. The same functionality is available from
@code{aws logs tail}.")
(license license:bsd-3)))
+(define-public lexbor
+ (package
+ (name "lexbor")
+ (version "2.6.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lexbor/lexbor")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "033hna4b9lh0675vri140nhnqbyj4vsa02j5r17fmdza6594islp"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:configure-flags #~(list "-DLEXBOR_BUILD_TESTS=ON"
+ "-DLEXBOR_BUILD_TESTS_CPP=ON")))
+ (home-page "https://lexbor.com/")
+ (synopsis "@code{HTML} and @code{CSS} renderer written in @code{C}")
+ (description
+ "This package provides @code{Lexbor}, a high-performance, lightweight
+@code{HTML}/@code{CSS} engine implemented entirely in @code{C99} with no external
+dependencies. It's primarily usage is intended for projects that need to process
+web content, but don't require a full browser environment.")
+ (license license:asl2.0)))
+
(define-public orcania
(package
(name "orcania")