aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 23:52:05 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:50 -0500
commita15145d93bc8d5fff92ffab56e3339d3377c6642 (patch)
tree2393688d90dd927618e608efad17fc86a86ddc21 /gnu/packages/perl.scm
parentbbe81cc0dd4b9b3aa4dded9ec7d08af5a2de33c5 (diff)
downloadpatches-a15145d93bc8d5fff92ffab56e3339d3377c6642.tar
patches-a15145d93bc8d5fff92ffab56e3339d3377c6642.tar.gz
gnu: Add Time-Duration.
* gnu/packages/perl.scm (perl-time-duration): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-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 b17557db7e..6cf478c35e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5107,6 +5107,28 @@ object it was given as it's first argument. This way side effects of calling
$object->TIEHASH are avoided.")
(license (package-license perl))))
+(define-public perl-time-duration
+ (package
+ (name "perl-time-duration")
+ (version "1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/A/AV/AVIF/"
+ "Time-Duration-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0klg33yzb7pr9ra76s6gj5k7nravqnw2lbh022x1xwlj92f43756"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-pod" ,perl-test-pod)
+ ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
+ (home-page "http://search.cpan.org/dist/Time-Duration")
+ (synopsis "English expression of durations")
+ (description "This module provides functions for expressing durations in
+rounded or exact terms.")
+ (license (package-license perl))))
+
(define-public perl-time-local
(package
(name "perl-time-local")