From c71792b260ecefab643f8bf7968823af3ec52e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igorj=20Gorja=C4=89ev?= Date: Mon, 22 Dec 2025 12:54:41 +0200 Subject: [PATCH] gnu: Add lexbor. * gnu/packages/web.scm (lexbor): New variable. Closes guix/guix#4311 Change-Id: I11a4b5768e32980fe80516d0520209a4aa12f2d5 Reviewed-by: Cayetano Santos Signed-off-by: Cayetano Santos --- gnu/packages/web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 41726c7ff1d875e9382d38136e76f7f3a6325b19..a41665f1692e5e0c3ce2da5fc71976e19148fa3b 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -79,6 +79,7 @@ ;;; Copyright © 2025 Philippe Swartvagher ;;; Copyright © 2025 pinoaffe ;;; Copyright © 2025 gemmaro +;;; Copyright © 2025 Igorj Gorjaĉev ;;; ;;; 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")