gnu: Add ruby-lumberjack.
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Wed, 16 Sep 2015 08:58:49 +0000 (10:58 +0200)
committerDavid Thompson <dthompson2@worcester.edu>
Sat, 19 Sep 2015 12:43:23 +0000 (08:43 -0400)
* gnu/packages/ruby.scm (ruby-lumberjack): New variable.

gnu/packages/ruby.scm

index 9c08162..6aaa5dd 100644 (file)
@@ -529,6 +529,27 @@ interfaces.")
     (home-page "http://whatisthor.com/")
     (license license:expat)))
 
+(define-public ruby-lumberjack
+  (package
+    (name "ruby-lumberjack")
+    (version "1.0.9")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "lumberjack" version))
+              (sha256
+               (base32
+                "162frm2bwy58pj8ccsdqa4a6i0csrhb9h5l3inhkl1ivgfc8814l"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)))
+    (synopsis "Logging utility library for Ruby")
+    (description "Lumberjack is a simple logging utility that can be a drop in
+replacement for Logger or ActiveSupport::BufferedLogger.  It provides support
+for automatically rolling log files even with multiple processes writing the
+same log file.")
+    (home-page "http://github.com/bdurand/lumberjack")
+    (license license:expat)))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")