guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 2/5] gnu: Add emacs-log4e.


From: Mathieu Othacehe
Subject: [PATCH v2 2/5] gnu: Add emacs-log4e.
Date: Fri, 27 Jan 2017 14:43:45 +0100

* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]