diff options
author | Roel Janssen <roel@gnu.org> | 2018-04-04 16:59:34 +0200 |
---|---|---|
committer | Roel Janssen <roel@gnu.org> | 2018-04-04 16:59:34 +0200 |
commit | 25c4743156b4134e3a20acee16746479cb1d5ff8 (patch) | |
tree | c6223f0dd9ef96ac475d87a61dc7041aa1380dd9 /gnu/packages | |
parent | f50bad80a93eabab598f3d6d621818b67cefb70b (diff) | |
download | guix-25c4743156b4134e3a20acee16746479cb1d5ff8.tar guix-25c4743156b4134e3a20acee16746479cb1d5ff8.tar.gz |
gnu: Add perl-time-hires.
* gnu/packages/perl.scm (perl-time-hires): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/perl.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index c146874f33..8bab7db88b 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8473,6 +8473,26 @@ rounded or exact terms.") duration strings like \"2 minutes\" and \"3 seconds\" to seconds.") (license (package-license perl)))) +(define-public perl-time-hires + (package + (name "perl-time-hires") + (version "1.9758") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/J/JH/JHI/Time-HiRes-" + version ".tar.gz")) + (sha256 + (base32 + "07jbydcdzpjm6i4nidci0rlklx4kla210fsl6zishw0yq5di9yjv")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Time-HiRes/") + (synopsis "High resolution alarm, sleep, gettimeofday, interval timers") + (description "This package implements @code{usleep}, @code{ualarm}, and +@code{gettimeofday} for Perl, as well as wrappers to implement @code{time}, +@code{sleep}, and @code{alarm} that know about non-integral seconds.") + (license perl-license))) + (define-public perl-time-local (package (name "perl-time-local") |