From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOeut-0008IT-6O for guix-patches@gnu.org; Fri, 01 Jun 2018 03:56:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOeuo-0005QO-Il for guix-patches@gnu.org; Fri, 01 Jun 2018 03:56:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48822) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOeuo-0005QI-El for guix-patches@gnu.org; Fri, 01 Jun 2018 03:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fOeuo-0004nk-86 for guix-patches@gnu.org; Fri, 01 Jun 2018 03:56:02 -0400 Subject: [bug#31511] [PATCH 20/21] gnu: Add emacs-package-lint. References: <20180518184910.9987-13-ambrevar@gmail.com> In-Reply-To: <20180518184910.9987-13-ambrevar@gmail.com> Resent-Message-ID: From: Pierre Neidhardt Date: Fri, 1 Jun 2018 09:55:40 +0200 Message-Id: <20180601075540.31140-1-ambrevar@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31511@debbugs.gnu.org * 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