summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRoel Janssen <roel@gnu.org>2018-04-04 15:35:08 +0200
committerRoel Janssen <roel@gnu.org>2018-04-04 15:35:08 +0200
commit821aaa9ca5200a4d070114d3ae4b07e79c97b039 (patch)
treed7883ba30018584ede8befd4887de442353cf02f /gnu
parent5a6e23fb1bfc50e62f8b9b7c92dac5686c762677 (diff)
downloadguix-821aaa9ca5200a4d070114d3ae4b07e79c97b039.tar.gz
gnu: Add perl-threads.
* gnu/packages/perl.scm (perl-threads): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 3f1693c9d7..7451f9398c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -8214,6 +8214,23 @@ letters, the pronunciation expressed by the text in some other writing
 system.")
     (license (package-license perl))))
 
+(define-public perl-threads
+  (package
+    (name "perl-threads")
+    (version "2.21")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/J/JD/JDHEDDEN/threads-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "047i22mdnf7fa0h9w5jhqrjbg561l5jxk8xqzwh6zbmwlac4qf98"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/threads/")
+    (synopsis "Perl interpreter-based threads")
+    (description "This module exposes interpreter threads to the Perl level.")
+    (license perl-license)))
+
 (define-public perl-throwable
   (package
     (name "perl-throwable")