Subject: [bug#58157] [PATCH 2/2] gnu: Add emacs-cov.

From: jgart <[email-masked]>
Date: Wed, 28 Sep 2022 23:50:40 -0500

* 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