summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-06-18 09:31:23 +0900
committerjgart <jgart@dismail.de>2025-06-23 20:06:59 -0400
commitbe65fc39fbac1d0ec063d6ce555b7959be4121ca (patch)
treea305165aff14a8ec86aba790c795f77b54f34f13
parenta2723f3c94dde868a84111792530979cd4b0c1ce (diff)
gnu: Add perl-future.
* gnu/packages/perl.scm (perl-future): New variable. Change-Id: Idf22bd2ba31c01da6bee9756f5fba337e8f7aedb Signed-off-by: jgart <jgart@dismail.de>
-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 e8ea784072..ac1527e992 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5896,6 +5896,27 @@ defining functions and methods with parameter lists. At minimum this saves you
from having to unpack @code{@@_} manually, but this module can do much more.")
(license license:perl-license)))
+(define-public perl-future
+ (package
+ (name "perl-future")
+ (version "0.51")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/Future-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "0dja5wf2c7rn548762syqjrb5bwz9c7xshkrdgyyq050hdry6g2n"))))
+ (build-system perl-build-system)
+ (native-inputs (list perl-module-build perl-test2-suite))
+ (home-page "https://metacpan.org/release/Future")
+ (synopsis "Perl module for representing operations awaiting completions")
+ (description "This Perl module implements @code{Future}, an object
+representing an operation that is currently in progress, or has recently
+completed. It can be used in a variety of ways to manage the flow of control,
+and data, through an asynchronous program.")
+ (license license:perl-license)))
+
(define-public perl-getopt-argvfile
(package
(name "perl-getopt-argvfile")