guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add perl-time-hires.


From: Roel Janssen
Subject: 01/01: gnu: Add perl-time-hires.
Date: Wed, 4 Apr 2018 10:59:55 -0400 (EDT)

roelj pushed a commit to branch master
in repository guix.

commit 25c4743156b4134e3a20acee16746479cb1d5ff8
Author: Roel Janssen <address@hidden>
Date:   Wed Apr 4 16:59:34 2018 +0200

    gnu: Add perl-time-hires.
    
    * gnu/packages/perl.scm (perl-time-hires): New variable.
---
 gnu/packages/perl.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index c146874..8bab7db 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
address@hidden for Perl, as well as wrappers to implement @code{time},
address@hidden, and @code{alarm} that know about non-integral seconds.")
+    (license perl-license)))
+
 (define-public perl-time-local
   (package
     (name "perl-time-local")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]