diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2026-06-15 16:00:15 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-06-19 12:03:37 +0900 |
| commit | f19980929a96a81e49532ef587976517d2d51344 (patch) | |
| tree | adaffac3d568010031d32b18f91e5039a4033d08 /gnu/packages/web.scm | |
| parent | 74f1ea4b51497532da316f7e31c22e960e62abd7 (diff) | |
gnu: Add superhtml.
* gnu/packages/web.scm (superhtml): New variable.
Merges: !9309
Diffstat (limited to 'gnu/packages/web.scm')
| -rw-r--r-- | gnu/packages/web.scm | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index fc4520e88cc..598792d23cb 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm | |||
| @@ -46,7 +46,7 @@ | |||
| 46 | ;;; Copyright © 2020, 2022 Michael Rohleder <mike@rohleder.de> | 46 | ;;; Copyright © 2020, 2022 Michael Rohleder <mike@rohleder.de> |
| 47 | ;;; Copyright © 2020, 2021 Ryan Prior <rprior@protonmail.com> | 47 | ;;; Copyright © 2020, 2021 Ryan Prior <rprior@protonmail.com> |
| 48 | ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro> | 48 | ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro> |
| 49 | ;;; Copyright © 2021, 2024 Maxim Cournoyer <maxim@guixotic.coop> | 49 | ;;; Copyright © 2021, 2024, 2026 Maxim Cournoyer <maxim@guixotic.coop> |
| 50 | ;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at> | 50 | ;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at> |
| 51 | ;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org> | 51 | ;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org> |
| 52 | ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org> | 52 | ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org> |
| @@ -217,6 +217,8 @@ | |||
| 217 | #:use-module (gnu packages wget) | 217 | #:use-module (gnu packages wget) |
| 218 | #:use-module (gnu packages xdisorg) | 218 | #:use-module (gnu packages xdisorg) |
| 219 | #:use-module (gnu packages xml) | 219 | #:use-module (gnu packages xml) |
| 220 | #:use-module (gnu packages zig) | ||
| 221 | #:use-module (gnu packages zig-xyz) | ||
| 220 | #:use-module (gnu packages) | 222 | #:use-module (gnu packages) |
| 221 | #:use-module (guix build-system ant) | 223 | #:use-module (guix build-system ant) |
| 222 | #:use-module (guix build-system cargo) | 224 | #:use-module (guix build-system cargo) |
| @@ -233,6 +235,7 @@ | |||
| 233 | #:use-module (guix build-system qt) | 235 | #:use-module (guix build-system qt) |
| 234 | #:use-module (guix build-system scons) | 236 | #:use-module (guix build-system scons) |
| 235 | #:use-module (guix build-system trivial) | 237 | #:use-module (guix build-system trivial) |
| 238 | #:use-module (guix build-system zig) | ||
| 236 | #:use-module (guix cvs-download) | 239 | #:use-module (guix cvs-download) |
| 237 | #:use-module (guix download) | 240 | #:use-module (guix download) |
| 238 | #:use-module (guix fossil-download) | 241 | #:use-module (guix fossil-download) |
| @@ -7010,6 +7013,41 @@ rendering engine entirely written from scratch. It is small and capable of | |||
| 7010 | handling many of the web standards in use today.") | 7013 | handling many of the web standards in use today.") |
| 7011 | (license license:gpl2+))) | 7014 | (license license:gpl2+))) |
| 7012 | 7015 | ||
| 7016 | (define-public superhtml | ||
| 7017 | (package | ||
| 7018 | (name "superhtml") | ||
| 7019 | (version "0.6.2") | ||
| 7020 | (source (origin | ||
| 7021 | (method git-fetch) | ||
| 7022 | (uri (git-reference | ||
| 7023 | (url "https://github.com/kristoff-it/superhtml") | ||
| 7024 | (commit (string-append "v" version)))) | ||
| 7025 | (file-name (git-file-name name version)) | ||
| 7026 | (sha256 | ||
| 7027 | (base32 | ||
| 7028 | "1ii2c2ssjpg0f8yr19gi4knhly7xcbfxpwq7889b8k2mmzrxri6g")) | ||
| 7029 | (snippet | ||
| 7030 | (rename-zig-dependencies | ||
| 7031 | '(("known_folders" . "zig-known-folders") | ||
| 7032 | ("lsp_kit" . "zig-lsp-kit") | ||
| 7033 | ("scripty" . "zig-scripty") | ||
| 7034 | ("tracy" . "zig-tracy")))))) | ||
| 7035 | (build-system zig-build-system) | ||
| 7036 | (arguments (list #:zig zig-0.15 | ||
| 7037 | #:install-source? #f)) | ||
| 7038 | (inputs (list zig-known-folders-for-zig-0.15 | ||
| 7039 | zig-lsp-kit-for-zig-0.15 | ||
| 7040 | zig-scripty | ||
| 7041 | zig-tracy)) | ||
| 7042 | (home-page "https://github.com/kristoff-it/superhtml") | ||
| 7043 | (synopsis "HTML validator, formatter, LSP, and templating language library") | ||
| 7044 | (description "SuperHTML is an HTML validator, formatter, @acronym{LSP, | ||
| 7045 | Language Server Protocol}, and templating language library. It provides the | ||
| 7046 | @command{superhtml} command that can validate and autoformat HTML files. The | ||
| 7047 | tool can be used either directly (for example by running it on save), or | ||
| 7048 | through a LSP client implementation.") | ||
| 7049 | (license license:expat))) | ||
| 7050 | |||
| 7013 | (define-public surfraw | 7051 | (define-public surfraw |
| 7014 | (let ((commit "ebb8131c7c623ef90d3345cd9d64203693861013") | 7052 | (let ((commit "ebb8131c7c623ef90d3345cd9d64203693861013") |
| 7015 | (revision "0")) | 7053 | (revision "0")) |
