summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-06-18 09:39:51 +0900
committerjgart <jgart@dismail.de>2025-06-23 20:06:59 -0400
commit89274de654e9ad55960b08cfd281eb134ab63585 (patch)
tree6c30d8508daa2672788b184446466515a58434b4
parentee9982cec1b64496cb0d49060349f5ea50a8f760 (diff)
gnu: Add perl-io-async.
* gnu/packages/perl.scm (perl-io-async): New variable. Change-Id: Ib44bcdfaef11ee81898aca8be30d59a3369575d5 Signed-off-by: jgart <jgart@dismail.de>
-rw-r--r--gnu/packages/perl.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 889c5f3c36..7a8cfc946d 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6442,6 +6442,32 @@ Perl IO idioms. It exports a single function called io, which returns a new
@code{IO::All} object. And that object can do it all!")
(license license:perl-license)))
+(define-public perl-io-async
+ (package
+ (name "perl-io-async")
+ (version "0.804")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/IO-Async-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "156475yl0zx9b8yy05yhzw39cn54jl8m5hkdkrpwsr41j4r58qch"))))
+ (build-system perl-build-system)
+ (native-inputs (list perl-module-build perl-test-future-io-impl
+ perl-test-metrics-any perl-test2-suite))
+ (propagated-inputs (list perl-future perl-struct-dumb))
+ (home-page "https://metacpan.org/release/IO-Async")
+ (synopsis "Modules for asynchronous event-driven programming in Perl")
+ (description "This collection of modules enables writing Perl programs
+that perform asynchronous input/output (IO) operations. A typical program
+using them would consist of a single subclass of @code{IO::Async::Loop} to act
+as a container of other objects, which perform the actual IO work required by
+the program. As well as IO handles, the loop also supports timers and signal
+handlers, and includes more higher-level functionality built on top of these
+basic parts.")
+ (license license:perl-license)))
+
(define-public perl-io-captureoutput
(package
(name "perl-io-captureoutput")