diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-04-06 23:52:52 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-04-19 19:48:50 -0500 |
commit | 4f43da182bc0dadb7b421b82516f63e2cbf30c8a (patch) | |
tree | 5ba05791326a4698418cffb7ba168b0369d1619d | |
parent | a15145d93bc8d5fff92ffab56e3339d3377c6642 (diff) |
gnu: Add Time-Duration-Parse.
* gnu/packages/perl.scm (perl-time-duration-parse): New variable.
-rw-r--r-- | gnu/packages/perl.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 6cf478c35e..65b2496694 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -5129,6 +5129,29 @@ $object->TIEHASH are avoided.") rounded or exact terms.") (license (package-license perl)))) +(define-public perl-time-duration-parse + (package + (name "perl-time-duration-parse") + (version "0.11") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/" + "Time-Duration-Parse-" version ".tar.gz")) + (sha256 + (base32 + "1yk4cqkldwzkfy9y9ngqrj7p7sbsrsfa26mrm8f70z5n5m8q31x0")))) + (build-system perl-build-system) + (native-inputs + `(("perl-time-duration" ,perl-time-duration))) + (propagated-inputs + `(("perl-exporter-lite" ,perl-exporter-lite))) + (home-page "http://search.cpan.org/dist/Time-Duration-Parse") + (synopsis "Parse time duration strings") + (description "Time::Duration::Parse is a module to parse human readable +duration strings like \"2 minutes\" and \"3 seconds\" to seconds.") + (license (package-license perl)))) + (define-public perl-time-local (package (name "perl-time-local") |