summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-10 15:13:04 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-11 15:48:05 -0500
commitf5721e475fb8e1399f883700d8f71b6d37f20a06 (patch)
tree17fdf62dcf9bad86655fbff3b82390b8cc0f26c3
parent9bc8671846c5a3f8567f83ff86df31df5badbd09 (diff)
downloadguix-f5721e475fb8e1399f883700d8f71b6d37f20a06.tar.gz
gnu: Add POSIX-strftime-Compiler.
* gnu/packages/perl.scm (perl-posix-strftime-compiler): New variable.
-rw-r--r--gnu/packages/perl.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f1894196c5..0dc3521dc9 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1480,6 +1480,28 @@ checking parameters easier.")
 up inheritance from those modules at the same time.")
     (license (package-license perl))))
 
+(define-public perl-posix-strftime-compiler
+  (package
+    (name "perl-posix-strftime-compiler")
+    (version "0.41")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
+                           "POSIX-strftime-Compiler-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0f9p3hx0vqx8zg5v24pz0s4zc8ln100c7c91ks681wq02phqj2v7"))))
+    (build-system perl-build-system)
+    (arguments `(#:tests? #f))          ;TODO: Timezone test failures
+    (home-page "http://search.cpan.org/dist/POSIX-strftime-Compiler")
+    (synopsis "GNU C library compatible strftime for loggers and servers")
+    (description "POSIX::strftime::Compiler provides GNU C library compatible
+strftime(3).  But this module is not affected by the system locale.  This
+feature is useful when you want to write loggers, servers, and portable
+applications.")
+    (license (package-license perl))))
+
 (define-public perl-probe-perl
   (package
     (name "perl-probe-perl")