~ruther/guix-local

c71792b260ecefab643f8bf7968823af3ec52e11 — Igorj Gorjaĉev 2 months ago 3f2b729
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>
1 files changed, 27 insertions(+), 0 deletions(-)

M gnu/packages/web.scm
M gnu/packages/web.scm => gnu/packages/web.scm +27 -0
@@ 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")