aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-10 15:32:36 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-11 15:48:06 -0500
commitb79d8b1ff7d94e67fe49564f30c21d2d2fa1dc8b (patch)
tree8fc2645b46894a268f76ef8d4923b2831a647e28 /gnu/packages
parent40f2518c1f844ce44e2ec7907ea10a15fd6d8ad9 (diff)
downloadpatches-b79d8b1ff7d94e67fe49564f30c21d2d2fa1dc8b.tar
patches-b79d8b1ff7d94e67fe49564f30c21d2d2fa1dc8b.tar.gz
gnu: Add Time-Mock.
* gnu/packages/perl.scm (perl-time-mock): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/perl.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 00a811c206..94023782ba 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2235,6 +2235,27 @@ the system epoch")
time values and formating dates into ASCII strings.")
(license (package-license perl))))
+(define-public perl-time-mock
+ (package
+ (name "perl-time-mock")
+ (version "v0.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/EW/EWILHELM/"
+ "Time-Mock-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0bwqyg8z98m8cjw1qcm4wg502n225k33j2fp8ywxkgfjdd1zgllv"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-timedate" ,perl-timedate))) ;For Date::Parse
+ (home-page "http://search.cpan.org/dist/Time-Mock")
+ (synopsis "Shift and scale time")
+ (description "This module allows you to speed up your sleep(), alarm(),
+and time() calls.")
+ (license (package-license perl))))
+
(define-public perl-try-tiny
(package
(name "perl-try-tiny")