unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58157] [PATCH] gnu: Add emacs-cov.
@ 2022-09-29  4:48 jgart via Guix-patches via
  2022-09-29  4:50 ` [bug#58157] [PATCH 1/2] gnu: Add emacs-elquery jgart via Guix-patches via
  0 siblings, 1 reply; 5+ messages in thread
From: jgart via Guix-patches via @ 2022-09-29  4:48 UTC (permalink / raw)
  To: 58157

Hi, here's cov for emacs.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#58157] [PATCH 1/2] gnu: Add emacs-elquery.
  2022-09-29  4:48 [bug#58157] [PATCH] gnu: Add emacs-cov jgart via Guix-patches via
@ 2022-09-29  4:50 ` jgart via Guix-patches via
  2022-09-29  4:50   ` [bug#58157] [PATCH 2/2] gnu: Add emacs-cov jgart via Guix-patches via
  2022-09-29  9:41   ` [bug#58157] [PATCH 1/2] gnu: Add emacs-elquery Nicolas Goaziou
  0 siblings, 2 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2022-09-29  4:50 UTC (permalink / raw)
  To: 58157; +Cc: jgart

* gnu/packages/emacs-xyz.scm (emacs-elquery): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

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")
-- 
2.37.3





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#58157] [PATCH 2/2] gnu: Add emacs-cov.
  2022-09-29  4:50 ` [bug#58157] [PATCH 1/2] gnu: Add emacs-elquery jgart via Guix-patches via
@ 2022-09-29  4:50   ` jgart via Guix-patches via
  2022-09-29  9:42     ` Nicolas Goaziou
  2022-09-29  9:41   ` [bug#58157] [PATCH 1/2] gnu: Add emacs-elquery Nicolas Goaziou
  1 sibling, 1 reply; 5+ messages in thread
From: jgart via Guix-patches via @ 2022-09-29  4:50 UTC (permalink / raw)
  To: 58157; +Cc: jgart

* gnu/packages/emacs-xyz.scm (emacs-cov): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3f6c95e79e..5008c8b754 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8500,6 +8500,32 @@ (define-public emacs-elquery
 API with @code{elquery-$}, and can get and set HTML attributes.")
     (license license:gpl3+)))
 
+(define-public emacs-cov
+  (let ((commit "cd3e1995c596cc227124db9537792d8329ffb696")
+        (revision "0"))
+    (package
+      (name "emacs-cov")
+      (version (git-version "0.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/AdamNiederer/cov")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1gyc0si60czhgrkm7kink1p1zj1h5j5nzif4ivm5bg78l28skmpm"))))
+      (build-system emacs-build-system)
+      (native-inputs (list emacs-mocker))
+      (propagated-inputs
+        (list emacs-f emacs-s emacs-elquery))
+      (home-page "https://github.com/AdamNiederer/cov/")
+      (synopsis "Emacs extension for displaying coverage data")
+      (description
+"@code{emacs-cov} shows code coverage data for your program in Emacs.")
+      (license license:gpl3+))))
+
 (define-public emacs-puppet-mode
   (package
     (name "emacs-puppet-mode")
-- 
2.37.3





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#58157] [PATCH 1/2] gnu: Add emacs-elquery.
  2022-09-29  4:50 ` [bug#58157] [PATCH 1/2] gnu: Add emacs-elquery jgart via Guix-patches via
  2022-09-29  4:50   ` [bug#58157] [PATCH 2/2] gnu: Add emacs-cov jgart via Guix-patches via
@ 2022-09-29  9:41   ` Nicolas Goaziou
  1 sibling, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2022-09-29  9:41 UTC (permalink / raw)
  To: 58157; +Cc: jgart

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,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#58157] [PATCH 2/2] gnu: Add emacs-cov.
  2022-09-29  4:50   ` [bug#58157] [PATCH 2/2] gnu: Add emacs-cov jgart via Guix-patches via
@ 2022-09-29  9:42     ` Nicolas Goaziou
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2022-09-29  9:42 UTC (permalink / raw)
  To: 58157; +Cc: jgart, 58157-done

Hello,

jgart via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-cov): New variable.

Thank you. I activated tests, tweaked the description and applied your patch.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-29 10:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-29  4:48 [bug#58157] [PATCH] gnu: Add emacs-cov jgart via Guix-patches via
2022-09-29  4:50 ` [bug#58157] [PATCH 1/2] gnu: Add emacs-elquery jgart via Guix-patches via
2022-09-29  4:50   ` [bug#58157] [PATCH 2/2] gnu: Add emacs-cov jgart via Guix-patches via
2022-09-29  9:42     ` Nicolas Goaziou
2022-09-29  9:41   ` [bug#58157] [PATCH 1/2] gnu: Add emacs-elquery Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).