Message ID | 20220929045040.14546-1-jgart@dismail.de |
---|---|
State | Accepted |
Headers | show |
Series | [bug#58157,1/2] gnu: Add emacs-elquery. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git-branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
Hello, jgart via Guix-patches via <guix-patches@gnu.org> writes: > * gnu/packages/emacs-xyz.scm (emacs-elquery): New variable. Thank you. I activated tests, fixed a (native) compilation error and applied your patch. I also made the following changes: > + (description > +"@code{emacs-elquery} is a library that lets you parse, query, set, and Elquery is a ... > +format HTML using Emacs Lisp. It implements most of the @code{querySelector} > +API with @code{elquery-$}, and can get and set HTML attributes.") I dropped the "with @code{elquery-}" part, which sounds too internal for a package description. Regards,
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index fef37627f3..3f6c95e79e 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -8476,6 +8476,30 @@ (define-public emacs-company-jedi "This package provides a Company backend for Python.") (license license:gpl3+))) +(define-public emacs-elquery + (package + (name "emacs-elquery") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/AdamNiederer/elquery") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "035zjzmd7yfw0rsjpaklc2wwiqw6brkjadch9x8n8n2gjyxg05mn")))) + (build-system emacs-build-system) + (propagated-inputs (list emacs-dash)) + (home-page "https://github.com/AdamNiederer/elquery/") + (synopsis "Read and manipulate HTML in Emacs") + (description +"@code{emacs-elquery} is a library that lets you parse, query, set, and +format HTML using Emacs Lisp. It implements most of the @code{querySelector} +API with @code{elquery-$}, and can get and set HTML attributes.") + (license license:gpl3+))) + (define-public emacs-puppet-mode (package (name "emacs-puppet-mode")