From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fL4l0-0003Jn-MX for guix-patches@gnu.org; Tue, 22 May 2018 06:43:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fL4kz-0006PU-P3 for guix-patches@gnu.org; Tue, 22 May 2018 06:43:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35820) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fL4kz-0006PP-Kn for guix-patches@gnu.org; Tue, 22 May 2018 06:43:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fL4kz-00050O-EB for guix-patches@gnu.org; Tue, 22 May 2018 06:43:05 -0400 Subject: [bug#31500] [PATCH 19/20] gnu: Add emacs-package-lint. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fL4kA-0002Za-PA for guix-patches@gnu.org; Tue, 22 May 2018 06:42:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fL4k9-00061W-OS for guix-patches@gnu.org; Tue, 22 May 2018 06:42:14 -0400 Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]:39479) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fL4k9-00060u-I9 for guix-patches@gnu.org; Tue, 22 May 2018 06:42:13 -0400 Received: by mail-wr0-x232.google.com with SMTP id w18-v6so15506949wrn.6 for ; Tue, 22 May 2018 03:42:13 -0700 (PDT) Received: from mimimi.home (2a01cb040a37a0005adf9a0845f647b3.ipv6.abo.wanadoo.fr. [2a01:cb04:a37:a000:5adf:9a08:45f6:47b3]) by smtp.gmail.com with ESMTPSA id 67-v6sm22437230wmw.32.2018.05.22.03.42.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 03:42:11 -0700 (PDT) From: Pierre Neidhardt Date: Tue, 22 May 2018 12:41:32 +0200 Message-Id: <20180522104133.26049-19-ambrevar@gmail.com> In-Reply-To: <20180522104133.26049-1-ambrevar@gmail.com> References: <20180518184910.9987-1-ambrevar@gmail.com> <20180522104133.26049-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: 31500@debbugs.gnu.org * 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