Subject: [bug#31500] [PATCH 19/20] gnu: Add emacs-package-lint.

From: Pierre Neidhardt <[email-masked]>
Date: Tue, 22 May 2018 12:41:32 +0200

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index fbfc391f0..7f502022f 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -11039,3 +11039,29 @@ Adjusted image when open image file: @code{M-x imagex-auto-adjust-mode}.
 Or in .emacs: @code{(eval-after-load 'image+ '(imagex-auto-adjust-mode 1))}.
 If you do not want error message in minibuffer: @code{(setq imagex-quiet-error t)}.")
     (license license:gpl3+)))
+
+(define-public emacs-package-lint
+  (package
+    (name "emacs-package-lint")
+    (version "20180505.1828")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://melpa.org/packages/package-lint-"
+             version
+             ".tar"))
+       (sha256
+        (base32
+         "0ahaipd49c4jhsjmrh35ck03g4sq37zms372w7ip1y4425qscnbp"))))
+    (build-system emacs-build-system)
+    (home-page
+     "https://github.com/purcell/package-lint")
+    (synopsis
+     "Linting library for elisp package authors")
+    (description
+     "Provides a list of issues with the package metadata of a file,
+e.g. the package dependencies it requires.  See function
+@code{package-lint-buffer}.  Checks will currently be enabled only if a
+\"Package-Requires:\" or \"Package-Version:\" header is present in the file. ")
+    (license license:gpl3+)))
-- 
2.17.0