Subject: [PATCH 20/21] gnu: Add emacs-package-lint.

From: Pierre Neidhardt <[email-masked]>
Date: Fri, 1 Jun 2018 09:55:40 +0200

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 1eff953ce..f2c1c6a76 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -11141,3 +11141,30 @@ 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
+  (let ((commit "69bb89d00ba212b734c676ad056aa793c450b288"))
+    (package
+      (name "emacs-package-lint")
+      (version (git-version "0.5" "1" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/purcell/package-lint")
+               (commit commit)))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "1hfricsgmy3x9snnd2p4xq6vnnv94qdsxxnxp07b3hqc9bhw31rq"))))
+      (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