From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: [PATCH v2 2/5] gnu: Add emacs-log4e. Date: Fri, 27 Jan 2017 14:43:45 +0100 Message-ID: <20170127134348.29162-3-m.othacehe@gmail.com> References: <20170127134348.29162-1-m.othacehe@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cX6oy-0003Pq-I2 for guix-devel@gnu.org; Fri, 27 Jan 2017 08:44:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cX6ov-00037w-Mj for guix-devel@gnu.org; Fri, 27 Jan 2017 08:44:08 -0500 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:34117) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cX6ov-00037k-Gv for guix-devel@gnu.org; Fri, 27 Jan 2017 08:44:05 -0500 Received: by mail-wm0-x241.google.com with SMTP id c85so58219124wmi.1 for ; Fri, 27 Jan 2017 05:44:05 -0800 (PST) In-Reply-To: <20170127134348.29162-1-m.othacehe@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/emacs.scm (emacs-log4e): New variable. --- gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 6c6d4db2f..35294a9bc 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -3670,3 +3670,32 @@ procedures for emacs-lisp-mode.") provides functions to convert hash tables from and to alists and plists.") (license license:gpl3+))) +(define-public emacs-log4e + (package + (name "emacs-log4e") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/aki2o/log4e/archive/" + "v" version ".tar.gz")) + (sha256 + (base32 + "0nbdpbw353snda3v19l9hsm6gimppwnpxj18amm350bm81lyim2g")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after + 'unpack 'remove-tests + ;; Guile complains of null characters in some strings of + ;; test files. Remove the test folder fixes it. + (lambda _ + (delete-file-recursively "test")))))) + (home-page "https://github.com/aki2o/log4e") + (synopsis "Logging framework for elisp.") + (description + "This package provides a logging framework for elisp. It allows to deal with +multiple log levels.") + (license license:gpl3+))) -- 2.11.0