[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/44: gnu: Add java-slf4j-api.
From: |
Ricardo Wurmus |
Subject: |
03/44: gnu: Add java-slf4j-api. |
Date: |
Sun, 9 Jul 2017 11:09:08 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit f8e4d0224b0fbe4f81bbc200b94ca4d33c5f6ab0
Author: Ricardo Wurmus <address@hidden>
Date: Fri May 19 07:52:45 2017 +0200
gnu: Add java-slf4j-api.
* gnu/packages/java.scm (java-slf4j-api): New variable.
---
gnu/packages/java.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index d8f5eac..f231380 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4151,6 +4151,43 @@ more efficient storage-wise than an uncompressed bitmap
(as implemented in the
;; GPL2.0 derivates are explicitly allowed.
(license license:asl2.0)))
+(define-public java-slf4j-api
+ (package
+ (name "java-slf4j-api")
+ (version "1.7.25")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.slf4j.org/dist/slf4j-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "13j51sgzmhhdrfa74gkal5zpip7r1440dh7zsi2c8bpb2zs1v8kb"))
+ (modules '((guix build utils)))
+ ;; Delete bundled jars.
+ (snippet
+ '(begin
+ (for-each delete-file (find-files "." "\\.jar$"))
+ #t))))
+ (build-system ant-build-system)
+ (arguments
+ ;; FIXME: org.slf4j.NoBindingTest fails with the ominous "This code
+ ;; should have never made it into slf4j-api.jar".
+ `(#:tests? #f
+ #:jar-name "slf4j-api.jar"
+ #:source-dir "slf4j-api/src/main"
+ #:test-dir "slf4j-api/src/test"))
+ (inputs
+ `(("java-junit" ,java-junit)
+ ("java-hamcrest-core" ,java-hamcrest-core)))
+ (home-page "https://www.slf4j.org/")
+ (synopsis "Simple logging facade for Java")
+ (description "The Simple Logging Facade for Java (SLF4J) serves as a
+simple facade or abstraction for various logging
+frameworks (e.g. @code{java.util.logging}, @code{logback}, @code{log4j})
+allowing the end user to plug in the desired logging framework at deployment
+time.")
+ (license license:expat)))
+
(define-public antlr2
(package
(name "antlr2")
- branch master updated (efd5a84 -> a20608a), Ricardo Wurmus, 2017/07/09
- 02/44: gnu: Add java-javaewah., Ricardo Wurmus, 2017/07/09
- 07/44: gnu: deeptools: Update to 2.5.1., Ricardo Wurmus, 2017/07/09
- 03/44: gnu: Add java-slf4j-api.,
Ricardo Wurmus <=
- 10/44: gnu: texlive-latex-base: Fix xetex and xelatex formats., Ricardo Wurmus, 2017/07/09
- 09/44: build-system: texlive: Build union in configure phase., Ricardo Wurmus, 2017/07/09
- 05/44: gnu: Add java-jgit-4.2., Ricardo Wurmus, 2017/07/09
- 06/44: gnu: Add python-py2bit., Ricardo Wurmus, 2017/07/09
- 08/44: build-system: texlive: Only build packages in the current directory., Ricardo Wurmus, 2017/07/09
- 01/44: gnu: Add java-classpathx-servletapi, Ricardo Wurmus, 2017/07/09
- 04/44: gnu: Add java-jgit., Ricardo Wurmus, 2017/07/09
- 12/44: gnu: texlive-generic-ifxetex: Fix description., Ricardo Wurmus, 2017/07/09
- 17/44: gnu: Add texlive-latex-changebar., Ricardo Wurmus, 2017/07/09
- 13/44: gnu: Add texlive-fonts-amsfonts., Ricardo Wurmus, 2017/07/09