diff options
author | jgart via Guix-patches via <guix-patches@gnu.org> | 2022-01-27 00:54:27 -0500 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-28 09:17:38 +0100 |
commit | ac577bb7de76cfc9dc71290c9b24960fbb28e8e8 (patch) | |
tree | 5307a1a1a6e6d1265a17dc242405a828693c0faa /gnu/packages | |
parent | c875c82d306d7267f24ba11ffa734d3445c7ab16 (diff) | |
download | guix-ac577bb7de76cfc9dc71290c9b24960fbb28e8e8.tar.gz |
gnu: Add emacs-validate-html.
* gnu/packages/emacs-xyz.scm (emacs-validate-html): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 258c2b25b5..8f32c57792 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -29917,6 +29917,32 @@ It includes syntax highlighting, automatic indentation, and imenu integration. Unlike Emacs' generic ASM mode, it understands NASM-specific syntax.") (license license:unlicense))) +(define-public emacs-validate-html + ;; XXX: Upstream did not tag commits yet. However, commit below matches the + ;; last version bump. Version is extracted from the keyword in main file. + (let ((commit "748e874d50c3a95c61590ae293778e26de05c5f9")) + (package + (name "emacs-validate-html") + (version "1.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/arthurgleckler/validate-html") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0b2b5dm85jwgkqvga23r3vfya07vxv2n7a3a6r1pxpk8asqlw41c")))) + (build-system emacs-build-system) + (home-page "https://github.com/arthurgleckler/validate-html") + (synopsis "Run the W3C HTML Validator directly from Emacs") + (description + "@command{emacs-validate-html} installs the command @code{validate-html}, +which sends the current buffer to the World Wide Web Consortium’s HTML +Validator service and displays the results in a buffer in Compilation mode.") + (license license:gpl3+)))) + (define-public emacs-global-tags (let ((commit "06db25d91cc8bfb5e24e02adc04de1226c7e742d") (revision "0")) |