gnu: Add Test-Directory.
[jackhill/guix/guix.git] / gnu / packages / perl.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
3 ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
4 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
5 ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
6 ;;;
7 ;;; This file is part of GNU Guix.
8 ;;;
9 ;;; GNU Guix is free software; you can redistribute it and/or modify it
10 ;;; under the terms of the GNU General Public License as published by
11 ;;; the Free Software Foundation; either version 3 of the License, or (at
12 ;;; your option) any later version.
13 ;;;
14 ;;; GNU Guix is distributed in the hope that it will be useful, but
15 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
18 ;;;
19 ;;; You should have received a copy of the GNU General Public License
20 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21
22 (define-module (gnu packages perl)
23 #:use-module (guix licenses)
24 #:use-module (gnu packages)
25 #:use-module (guix packages)
26 #:use-module (guix download)
27 #:use-module (guix build-system gnu)
28 #:use-module (guix build-system perl))
29
30 ;;;
31 ;;; Please: Try to add new module packages in alphabetic order.
32 ;;;
33
34 \f
35 (define-public perl
36 ;; Yeah, Perl... It is required early in the bootstrap process by Linux.
37 (package
38 (name "perl")
39 (version "5.16.1")
40 (source (origin
41 (method url-fetch)
42 (uri (string-append "http://www.cpan.org/src/5.0/perl-"
43 version ".tar.gz"))
44 (sha256
45 (base32
46 "15qxzba3a50c9nik5ydgyfp62x7h9vxxn12yd1jgl93hb1wj96km"))
47 (patches (list (search-patch "perl-no-sys-dirs.patch")))))
48 (build-system gnu-build-system)
49 (arguments
50 '(#:tests? #f
51 #:phases
52 (alist-replace
53 'configure
54 (lambda* (#:key inputs outputs #:allow-other-keys)
55 (let ((out (assoc-ref outputs "out"))
56 (libc (assoc-ref inputs "libc")))
57 ;; Use the right path for `pwd'.
58 (substitute* "dist/Cwd/Cwd.pm"
59 (("/bin/pwd")
60 (which "pwd")))
61
62 (zero?
63 (system* "./Configure"
64 (string-append "-Dprefix=" out)
65 (string-append "-Dman1dir=" out "/share/man/man1")
66 (string-append "-Dman3dir=" out "/share/man/man3")
67 "-de" "-Dcc=gcc"
68 "-Uinstallusrbinperl"
69 "-Dinstallstyle=lib/perl5"
70 "-Duseshrplib"
71 (string-append "-Dlocincpth=" libc "/include")
72 (string-append "-Dloclibpth=" libc "/lib")))))
73 %standard-phases)))
74 (native-search-paths (list (search-path-specification
75 (variable "PERL5LIB")
76 (files '("lib/perl5/site_perl")))))
77 (synopsis "Implementation of the Perl programming language")
78 (description
79 "Perl 5 is a highly capable, feature-rich programming language with over
80 24 years of development.")
81 (home-page "http://www.perl.org/")
82 (license gpl1+))) ; or "Artistic"
83
84 (define-public perl-algorithm-diff
85 (package
86 (name "perl-algorithm-diff")
87 (version "1.1903")
88 (source
89 (origin
90 (method url-fetch)
91 (uri (string-append "mirror://cpan/authors/id/T/TY/TYEMQ/"
92 "Algorithm-Diff-" version ".tar.gz"))
93 (sha256
94 (base32
95 "0l8pk7ziz72d022hsn4xldhhb9f5649j5cgpjdibch0xng24ms1h"))))
96 (build-system perl-build-system)
97 (home-page "http://search.cpan.org/dist/Algorithm-Diff")
98 (synopsis "Compute differences between two files or lists")
99 (description "This is a module for computing the difference between two
100 files, two strings, or any other two lists of things. It uses an intelligent
101 algorithm similar to (or identical to) the one used by the Unix \"diff\"
102 program. It is guaranteed to find the *smallest possible* set of
103 differences.")
104 (license (package-license perl))))
105
106 (define-public perl-archive-zip
107 (package
108 (name "perl-archive-zip")
109 (version "1.30")
110 (source
111 (origin
112 (method url-fetch)
113 (uri (string-append
114 "mirror://cpan/authors/id/A/AD/ADAMK/Archive-Zip-"
115 version ".tar.gz"))
116 (sha256
117 (base32
118 "0633zah5z9njiqnvy3vh42fjymncmil1jdfb7d18w8xpfzzp5d7q"))))
119 (build-system perl-build-system)
120 (synopsis "Perl API to zip files")
121 (description "The Archive::Zip module allows a Perl program to create,
122 manipulate, read, and write Zip archive files.")
123 (home-page "http://search.cpan.org/~phred/Archive-Zip-1.37/lib/Archive/Zip.pm")
124 (license (package-license perl))))
125
126 (define-public perl-b-hooks-endofscope
127 (package
128 (name "perl-b-hooks-endofscope")
129 (version "0.13")
130 (source
131 (origin
132 (method url-fetch)
133 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
134 "B-Hooks-EndOfScope-" version ".tar.gz"))
135 (sha256
136 (base32
137 "1f5d0lbkwf23dfjn60g6fynmjhy5rxdyxcpdfb07srm73qpg2zpi"))))
138 (build-system perl-build-system)
139 (propagated-inputs
140 `(("perl-module-runtime" ,perl-module-runtime)
141 ("perl-module-implementation" ,perl-module-implementation)
142 ("perl-sub-exporter-progressive" ,perl-sub-exporter-progressive)
143 ("perl-variable-magic" ,perl-variable-magic)))
144 (home-page "http://search.cpan.org/dist/B-Hooks-EndOfScope")
145 (synopsis "Execute code after a scope finished compilation")
146 (description "This module allows you to execute code when perl finished
147 compiling the surrounding scope.")
148 (license (package-license perl))))
149
150 (define-public perl-benchmark-timer
151 (package
152 (name "perl-benchmark-timer")
153 (version "0.7102")
154 (source (origin
155 (method url-fetch)
156 (uri (string-append "mirror://cpan/authors/id/D/DC/DCOPPIT/"
157 "Benchmark-Timer-" version ".tar.gz"))
158 (sha256
159 (base32
160 "1gl9ybm9hgia3ld5s11b7bv2p2hmx5rss5hxcfy6rmbzrjcnci01"))))
161 (build-system perl-build-system)
162 ;; The optional input module Statistics::PointEstimation (from
163 ;; Statistics-TTest) lists no license.
164 (synopsis "Benchmarking with statistical confidence")
165 (description
166 "The Benchmark::Timer class allows you to time portions of code
167 conveniently, as well as benchmark code by allowing timings of repeated
168 trials. It is perfect for when you need more precise information about the
169 running time of portions of your code than the Benchmark module will give you,
170 but don't want to go all out and profile your code.")
171 (home-page (string-append "http://search.cpan.org/~dcoppit/"
172 "Benchmark-Timer-" version))
173 (license gpl2)))
174
175 (define-public perl-capture-tiny
176 (package
177 (name "perl-capture-tiny")
178 (version "0.28")
179 (source
180 (origin
181 (method url-fetch)
182 (uri (string-append
183 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Capture-Tiny-"
184 version ".tar.gz"))
185 (sha256
186 (base32
187 "117gmwipql1y5xnw9jil3lhdsrf2wsm9wjdzqj66x971n3fwm573"))))
188 (build-system perl-build-system)
189 (home-page "http://search.cpan.org/dist/Capture-Tiny")
190 (synopsis "Capture STDOUT and STDERR from Perl, XS or external programs")
191 (description
192 "Capture::Tiny provides a simple, portable way to capture almost anything
193 sent to STDOUT or STDERR, regardless of whether it comes from Perl, from XS
194 code or from an external program. Optionally, output can be teed so that it
195 is captured while being passed through to the original file handles.")
196 (license asl2.0)))
197
198 (define-public perl-class-data-inheritable
199 (package
200 (name "perl-class-data-inheritable")
201 (version "0.08")
202 (source
203 (origin
204 (method url-fetch)
205 (uri (string-append "mirror://cpan/authors/id/T/TM/TMTM/"
206 "Class-Data-Inheritable-" version ".tar.gz"))
207 (sha256
208 (base32
209 "0jpi38wy5xh6p1mg2cbyjjw76vgbccqp46685r27w8hmxb7gwrwr"))))
210 (build-system perl-build-system)
211 (home-page "http://search.cpan.org/dist/Class-Data-Inheritable")
212 (synopsis "Inheritable, overridable class data")
213 (description "Class::Data::Inheritable is for creating accessor/mutators
214 to class data. That is, if you want to store something about your class as a
215 whole (instead of about a single object). This data is then inherited by your
216 subclasses and can be overriden.")
217 (license (package-license perl))))
218
219 (define-public perl-class-load
220 (package
221 (name "perl-class-load")
222 (version "0.22")
223 (source
224 (origin
225 (method url-fetch)
226 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
227 "Class-Load-" version ".tar.gz"))
228 (sha256
229 (base32
230 "049i285yj8hwgzj7nncjbs2bhxvpdk88wmx1d0nh0rdmh5hdnlmy"))))
231 (build-system perl-build-system)
232 (native-inputs
233 `(("perl-module-build-tiny" ,perl-module-build-tiny)
234 ("perl-test-fatal" ,perl-test-fatal)
235 ("perl-test-requires" ,perl-test-requires)))
236 (propagated-inputs
237 `(("perl-package-stash" ,perl-package-stash)
238 ("perl-data-optlist" ,perl-data-optlist)
239 ("perl-namespace-clean" ,perl-namespace-clean)
240 ("perl-module-runtime" ,perl-module-runtime)
241 ("perl-module-implementation" ,perl-module-implementation)))
242 (home-page "http://search.cpan.org/dist/Class-Load")
243 (synopsis "Working (require \"Class::Name\") and more")
244 (description "\"require EXPR\" only accepts Class/Name.pm style module
245 names, not Class::Name. For that, this module provides \"load_class
246 'Class::Name'\".")
247 (license (package-license perl))))
248
249 (define-public perl-class-load-xs
250 (package
251 (name "perl-class-load-xs")
252 (version "0.09")
253 (source
254 (origin
255 (method url-fetch)
256 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
257 "Class-Load-XS-" version ".tar.gz"))
258 (sha256
259 (base32
260 "1aivalms81s3a2cj053ncgnmkpgl7vspna8ajlkqir7rdn8kpv5v"))))
261 (build-system perl-build-system)
262 (native-inputs
263 `(("perl-test-fatal" ,perl-test-fatal)
264 ("perl-test-requires" ,perl-test-requires)))
265 (inputs `(("perl-class-load" ,perl-class-load)))
266 (home-page "http://search.cpan.org/dist/Class-Load-XS")
267 (synopsis "XS implementation of parts of Class::Load")
268 (description "This module provides an XS implementation for portions of
269 Class::Load")
270 (license artistic2.0)))
271
272 (define-public perl-class-tiny
273 (package
274 (name "perl-class-tiny")
275 (version "1.000")
276 (source
277 (origin
278 (method url-fetch)
279 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
280 "Class-Tiny-" version ".tar.gz"))
281 (sha256
282 (base32
283 "0jll90byj0nl16hwpf28k54i4n53jidjsj1bnlbx72v0n56qfpb2"))))
284 (build-system perl-build-system)
285 (home-page "http://search.cpan.org/dist/Class-Tiny")
286 (synopsis "Minimalist class construction")
287 (description "This module offers a minimalist class construction kit. It
288 uses no non-core modules for any recent Perl.")
289 (license asl2.0)))
290
291 (define-public perl-clone
292 (package
293 (name "perl-clone")
294 (version "0.37")
295 (source (origin
296 (method url-fetch)
297 (uri (string-append "mirror://cpan/authors/id/G/GA/GARU/"
298 "Clone-" version ".tar.gz"))
299 (sha256
300 (base32
301 "17fdhxpzrq2nwim3zkcrz4m9gjixp0i886yz54ysrshxy3k53wnr"))))
302 (build-system perl-build-system)
303 (synopsis "Recursively copy Perl datatypes")
304 (description
305 "This module provides a clone() method which makes recursive copies of
306 nested hash, array, scalar and reference types, including tied variables and
307 objects.")
308 (home-page (string-append "http://search.cpan.org/~garu/"
309 "Clone-" version))
310 (license (package-license perl))))
311
312 (define-public perl-config-autoconf
313 (package
314 (name "perl-config-autoconf")
315 (version "0.309")
316 (source
317 (origin
318 (method url-fetch)
319 (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/"
320 "Config-AutoConf-" version ".tar.gz"))
321 (sha256
322 (base32
323 "1nqc7calfny12dwfhz7ylsvx55nf69kirdc5dbyvh3sjsqj8yvdq"))))
324 (build-system perl-build-system)
325 (propagated-inputs
326 `(("perl-capture-tiny" ,perl-capture-tiny)))
327 (home-page "http://search.cpan.org/dist/Config-AutoConf")
328 (synopsis "Module to implement some AutoConf macros in Perl")
329 (description "Config::AutoConf is intended to provide the same
330 opportunities to Perl developers as GNU Autoconf does for Shell developers.")
331 (license (package-license perl))))
332
333 (define-public perl-cpan-meta-check
334 (package
335 (name "perl-cpan-meta-check")
336 (version "0.009")
337 (source
338 (origin
339 (method url-fetch)
340 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
341 "CPAN-Meta-Check-" version ".tar.gz"))
342 (sha256
343 (base32
344 "0qbk5dwvhd78qgq5x6nim2n0l78pylvlklpbrm56w9yss6pl6bgb"))))
345 (build-system perl-build-system)
346 (native-inputs `(("perl-test-deep" ,perl-test-deep)))
347 (propagated-inputs `(("perl-cpan-meta" ,perl-cpan-meta)))
348 (home-page "http://search.cpan.org/dist/CPAN-Meta-Check")
349 (synopsis "Verify requirements in a CPAN::Meta object")
350 (description "This module verifies if requirements described in a
351 CPAN::Meta object are present.")
352 (license (package-license perl))))
353
354 (define-public perl-data-optlist
355 (package
356 (name "perl-data-optlist")
357 (version "0.109")
358 (source
359 (origin
360 (method url-fetch)
361 (uri (string-append
362 "mirror://cpan/authors/id/R/RJ/RJBS/Data-OptList-"
363 version ".tar.gz"))
364 (sha256
365 (base32
366 "1j44rm2spprlq3bc80cxni3dzs3gfjiqv1qc9q7820n1qj0wgmqw"))))
367 (build-system perl-build-system)
368 (propagated-inputs
369 `(("perl-sub-install" ,perl-sub-install)
370 ("perl-params-util" ,perl-params-util)))
371 (home-page "http://search.cpan.org/dist/Data-OptList")
372 (synopsis "Parse and validate simple name/value option pairs")
373 (description
374 "Data::OptList provides a simple syntax for name/value option pairs.")
375 (license (package-license perl))))
376
377 (define-public perl-devel-caller
378 (package
379 (name "perl-devel-caller")
380 (version "2.06")
381 (source
382 (origin
383 (method url-fetch)
384 (uri (string-append "mirror://cpan/authors/id/R/RC/RCLAMP/"
385 "Devel-Caller-" version ".tar.gz"))
386 (sha256
387 (base32
388 "1pxpimifzmnjnvf4icclx77myc15ahh0k56sj1djad1855mawwva"))))
389 (build-system perl-build-system)
390 (propagated-inputs
391 `(("perl-padwalker" ,perl-padwalker)))
392 (home-page "http://search.cpan.org/dist/Devel-Caller")
393 (synopsis "Meatier version of caller")
394 (description "Devel::Caller provides meatier version of caller.")
395 (license (package-license perl))))
396
397 (define-public perl-devel-globaldestruction
398 (package
399 (name "perl-devel-globaldestruction")
400 (version "0.13")
401 (source
402 (origin
403 (method url-fetch)
404 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
405 "Devel-GlobalDestruction-" version ".tar.gz"))
406 (sha256
407 (base32
408 "0qn4iszgylnxjdkb6430f6a3ci7bcx9ih1az6bd5cbij1pf2965j"))))
409 (build-system perl-build-system)
410 (propagated-inputs
411 `(("perl-sub-exporter-progressive" ,perl-sub-exporter-progressive)))
412 (home-page "http://search.cpan.org/dist/Devel-GlobalDestruction")
413 (synopsis "Provides equivalent of ${^GLOBAL_PHASE} eq 'DESTRUCT' for older perls")
414 (description "Devel::GlobalDestruction provides a function returning the
415 equivalent of \"${^GLOBAL_PHASE} eq 'DESTRUCT'\" for older perls.")
416 (license (package-license perl))))
417
418 (define-public perl-devel-lexalias
419 (package
420 (name "perl-devel-lexalias")
421 (version "0.05")
422 (source
423 (origin
424 (method url-fetch)
425 (uri (string-append "mirror://cpan/authors/id/R/RC/RCLAMP/"
426 "Devel-LexAlias-" version ".tar.gz"))
427 (sha256
428 (base32
429 "0wpfpjqlrncslnmxa37494sfdy0901510kj2ds2k6q167vadj2jy"))))
430 (build-system perl-build-system)
431 (propagated-inputs
432 `(("perl-devel-caller" ,perl-devel-caller)))
433 (home-page "http://search.cpan.org/dist/Devel-LexAlias")
434 (synopsis "Alias lexical variables")
435 (description "Devel::LexAlias provides the ability to alias a lexical
436 variable in a subroutines scope to one of your choosing.")
437 (license (package-license perl))))
438
439 (define-public perl-devel-overloadinfo
440 (package
441 (name "perl-devel-overloadinfo")
442 (version "0.002")
443 (source
444 (origin
445 (method url-fetch)
446 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
447 "Devel-OverloadInfo-" version ".tar.gz"))
448 (sha256
449 (base32
450 "14gzjlsqhypqp0szqj6152qfn69snzydgk1yk6bji5zimzv86qyy"))))
451 (build-system perl-build-system)
452 (propagated-inputs
453 `(("perl-package-stash" ,perl-package-stash)
454 ("perl-sub-identify" ,perl-sub-identify)
455 ("perl-mro-compat" ,perl-mro-compat)))
456 (home-page "http://search.cpan.org/dist/Devel-OverloadInfo")
457 (synopsis "Introspect overloaded operators")
458 (description "Devel::OverloadInfo returns information about overloaded
459 operators for a given class (or object), including where in the inheritance
460 hierarchy the overloads are declared and where the code implementing it is.")
461 (license (package-license perl))))
462
463 (define-public perl-devel-partialdump
464 (package
465 (name "perl-devel-partialdump")
466 (version "0.17")
467 (source
468 (origin
469 (method url-fetch)
470 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
471 "Devel-PartialDump-" version ".tar.gz"))
472 (sha256
473 (base32
474 "0nr3qa68x4yp219kd17j1ks9c95qc9agfvz7ddnpn8p78f3kgwfn"))))
475 (build-system perl-build-system)
476 (native-inputs
477 `(("perl-module-build-tiny" ,perl-module-build-tiny)
478 ("perl-test-warn" ,perl-test-warn)
479 ("perl-test-simple" ,perl-test-simple)))
480 (propagated-inputs
481 `(("perl-class-tiny" ,perl-class-tiny)
482 ("perl-sub-exporter" ,perl-sub-exporter)
483 ("perl-namespace-clean" ,perl-namespace-clean)))
484 (home-page "http://search.cpan.org/dist/Devel-PartialDump")
485 (synopsis "Partial dumping of data structures")
486 (description "This module is a data dumper optimized for logging of
487 arbitrary parameters.")
488 (license (package-license perl))))
489
490 (define-public perl-devel-stacktrace
491 (package
492 (name "perl-devel-stacktrace")
493 (version "2.00")
494 (source
495 (origin
496 (method url-fetch)
497 (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
498 "Devel-StackTrace-" version ".tar.gz"))
499 (sha256
500 (base32
501 "1r65iq5i11xh0r0kp3pdycydnd3kxpdmxnp0hq9hx9lr60kygsqx"))))
502 (build-system perl-build-system)
503 (home-page "http://search.cpan.org/dist/Devel-StackTrace")
504 (synopsis "Object representing a stack trace")
505 (description "The Devel::StackTrace module contains two classes,
506 Devel::StackTrace and Devel::StackTrace::Frame. These objects encapsulate the
507 information that can be retrieved via Perl's caller() function, as well as
508 providing a simple interface to this data.")
509 (license artistic2.0)))
510
511 (define-public perl-digest-sha1
512 (package
513 (name "perl-digest-sha1")
514 (version "2.13")
515 (source (origin
516 (method url-fetch)
517 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
518 "Digest-SHA1-" version ".tar.gz"))
519 (sha256
520 (base32
521 "1k23p5pjk42vvzg8xcn4iwdii47i0qm4awdzgbmz08bl331dmhb8"))))
522 (build-system perl-build-system)
523 (synopsis "Perl implementation of the SHA-1 message digest algorithm")
524 (description
525 "This package provides 'Digest::SHA1', an implementation of the NIST
526 SHA-1 message digest algorithm for use by Perl programs.")
527 (home-page (string-append "http://search.cpan.org/~gaas/Digest-SHA1-"
528 version "/SHA1.pm"))
529 (license (package-license perl))))
530
531 (define-public perl-dist-checkconflicts
532 (package
533 (name "perl-dist-checkconflicts")
534 (version "0.11")
535 (source (origin
536 (method url-fetch)
537 (uri (string-append "mirror://cpan/authors/id/D/DO/DOY/"
538 "Dist-CheckConflicts-" version ".tar.gz"))
539 (sha256
540 (base32
541 "1i7dr9jpdiy2nijl2p4q5zg2q2s9ckbj2hs4kmnnckf9hsb4p17a"))))
542 (build-system perl-build-system)
543 (native-inputs `(("perl-test-fatal" ,perl-test-fatal)))
544 (propagated-inputs
545 `(("perl-module-runtime" ,perl-module-runtime)))
546 (home-page "http://search.cpan.org/dist/Dist-CheckConflicts")
547 (synopsis "Declare version conflicts for your dist")
548 (description "This module allows you to specify conflicting versions of
549 modules separately and deal with them after the module is done installing.")
550 (license (package-license perl))))
551
552 (define-public perl-eval-closure
553 (package
554 (name "perl-eval-closure")
555 (version "0.12")
556 (source
557 (origin
558 (method url-fetch)
559 (uri (string-append "mirror://cpan/authors/id/D/DO/DOY/"
560 "Eval-Closure-" version ".tar.gz"))
561 (sha256
562 (base32
563 "0ssvlgx3y1y28wrrp0lmmffzqxfrwb2lb3p60b8cjvxsf1c3jbfv"))))
564 (build-system perl-build-system)
565 (native-inputs
566 `(("perl-test-fatal" ,perl-test-fatal)
567 ("perl-test-requires" ,perl-test-requires)))
568 (propagated-inputs
569 `(("perl-devel-lexalias" ,perl-devel-lexalias)))
570 (home-page "http://search.cpan.org/dist/Eval-Closure")
571 (synopsis "Safely and cleanly create closures via string eval")
572 (description "String eval is often used for dynamic code generation. For
573 instance, Moose uses it heavily, to generate inlined versions of accessors and
574 constructors, which speeds code up at runtime by a significant amount. String
575 eval is not without its issues however - it's difficult to control the scope
576 it's used in (which determines which variables are in scope inside the eval),
577 and it's easy to miss compilation errors, since eval catches them and sticks
578 them in $@ instead. This module attempts to solve these problems. It
579 provides an eval_closure function, which evals a string in a clean
580 environment, other than a fixed list of specified variables. Compilation
581 errors are rethrown automatically.")
582 (license (package-license perl))))
583
584 (define-public perl-exception-class
585 (package
586 (name "perl-exception-class")
587 (version "1.39")
588 (source
589 (origin
590 (method url-fetch)
591 (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
592 "Exception-Class-" version ".tar.gz"))
593 (sha256
594 (base32
595 "10r06v6568s33p6h9f9ml0iabc07id86mjkf74gy7ld6d5m7b741"))))
596 (build-system perl-build-system)
597 (propagated-inputs
598 `(("perl-devel-stacktrace" ,perl-devel-stacktrace)
599 ("perl-class-data-inheritable" ,perl-class-data-inheritable)))
600 (home-page "http://search.cpan.org/dist/Exception-Class")
601 (synopsis "Allows you to declare real exception classes in Perl")
602 (description "Exception::Class allows you to declare exception hierarchies
603 in your modules in a \"Java-esque\" manner.")
604 (license (package-license perl))))
605
606 (define-public perl-exporter-lite
607 (package
608 (name "perl-exporter-lite")
609 (version "0.06")
610 (source (origin
611 (method url-fetch)
612 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
613 "Exporter-Lite-" version ".tar.gz"))
614 (sha256
615 (base32
616 "0k4gkvid4fr8yvwj0axdx5111mzfw2iipls3qllxr364fqhmclpj"))))
617 (build-system perl-build-system)
618 (synopsis "Lightweight exporting of functions and variables")
619 (description
620 "Exporter::Lite is an alternative to Exporter, intended to provide a
621 lightweight subset of the most commonly-used functionality. It supports
622 import(), @EXPORT and @EXPORT_OK and not a whole lot else.")
623 (home-page (string-append "http://search.cpan.org/~neilb/"
624 "Exporter-Lite-" version))
625 (license (package-license perl))))
626
627 (define-public perl-extutils-installpaths
628 (package
629 (name "perl-extutils-installpaths")
630 (version "0.010")
631 (source
632 (origin
633 (method url-fetch)
634 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
635 "ExtUtils-InstallPaths-" version ".tar.gz"))
636 (sha256
637 (base32
638 "0mi1px42in7i442jqncg3gmxd5zn7sw5b2s85h690rz433qvyk6i"))))
639 (build-system perl-build-system)
640 (propagated-inputs
641 `(("perl-extutils-config" ,perl-extutils-config)))
642 (home-page "http://search.cpan.org/dist/ExtUtils-InstallPaths")
643 (synopsis "Build.PL install path logic made easy")
644 (description "This module tries to make install path resolution as easy as
645 possible.")
646 (license (package-license perl))))
647
648 (define-public perl-extutils-config
649 (package
650 (name "perl-extutils-config")
651 (version "0.008")
652 (source
653 (origin
654 (method url-fetch)
655 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
656 "ExtUtils-Config-" version ".tar.gz"))
657 (sha256
658 (base32
659 "130s5zk4krrymbynqxx62g13jynnb7xi7vdpg65cw3b56kv08ldf"))))
660 (build-system perl-build-system)
661 (home-page "http://search.cpan.org/dist/ExtUtils-Config")
662 (synopsis "Wrapper for perl's configuration")
663 (description "ExtUtils::Config is an abstraction around the %Config hash.
664 By itself it is not a particularly interesting module by any measure, however
665 it ties together a family of modern toolchain modules.")
666 (license (package-license perl))))
667
668 (define-public perl-extutils-helpers
669 (package
670 (name "perl-extutils-helpers")
671 (version "0.022")
672 (source
673 (origin
674 (method url-fetch)
675 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
676 "ExtUtils-Helpers-" version ".tar.gz"))
677 (sha256
678 (base32
679 "15dalfwmpfmifw312i5pwiai8134pxf7b2804shlqhdk1xqczy6k"))))
680 (build-system perl-build-system)
681 (home-page "http://search.cpan.org/dist/ExtUtils-Helpers")
682 (synopsis "Various portability utilities for module builders")
683 (description "This module provides various portable helper functions for
684 module building modules.")
685 (license (package-license perl))))
686
687 (define-public perl-file-find-rule
688 (package
689 (name "perl-file-find-rule")
690 (version "0.33")
691 (source
692 (origin
693 (method url-fetch)
694 (uri (string-append "mirror://cpan/authors/id/R/RC/RCLAMP/"
695 "File-Find-Rule-" version ".tar.gz"))
696 (sha256
697 (base32
698 "0w73b4jr2fcrd74a1w3b2jryq3mqzc8z5mk7ia9p85xn3qmpa5r4"))))
699 (build-system perl-build-system)
700 (propagated-inputs
701 `(("perl-text-glob" ,perl-text-glob)
702 ("perl-number-compare" ,perl-number-compare)))
703 (home-page "http://search.cpan.org/dist/File-Find-Rule")
704 (synopsis "Alternative interface to File::Find")
705 (description "File::Find::Rule is a friendlier interface to File::Find.
706 It allows you to build rules which specify the desired files and
707 directories.")
708 (license (package-license perl))))
709
710 (define-public perl-file-find-rule-perl
711 (package
712 (name "perl-file-find-rule-perl")
713 (version "1.13")
714 (source
715 (origin
716 (method url-fetch)
717 (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
718 "File-Find-Rule-Perl-" version ".tar.gz"))
719 (sha256
720 (base32
721 "0xi4ppqr6r57l5xlkwxpvkvpb9p7dvz053d76v2m9pwdfxqb5v6j"))))
722 (build-system perl-build-system)
723 (propagated-inputs
724 `(("perl-file-find-rule" ,perl-file-find-rule)
725 ("perl-params-util" ,perl-params-util)
726 ("perl-parse-cpan-meta" ,perl-parse-cpan-meta)))
727 (home-page "http://search.cpan.org/dist/File-Find-Rule-Perl")
728 (synopsis "Common rules for searching for Perl things")
729 (description "File::Find::Rule::Perl provides methods for finding various
730 types Perl-related files, or replicating search queries run on a distribution
731 in various parts of the CPAN ecosystem.")
732 (license (package-license perl))))
733
734 (define-public perl-file-list
735 (package
736 (name "perl-file-list")
737 (version "0.3.1")
738 (source (origin
739 (method url-fetch)
740 (uri (string-append
741 "mirror://cpan/authors/id/D/DO/DOPACKI/File-List-"
742 version ".tar.gz"))
743 (sha256
744 (base32
745 "00m5ax4aq59hdvav6yc4g63vhx3a57006rglyypagvrzfxjvm8s8"))))
746 (build-system perl-build-system)
747 (arguments
748 `(#:phases
749 (alist-cons-after
750 'unpack 'cd
751 (lambda* _
752 (chdir "List"))
753 %standard-phases)))
754 (license (package-license perl))
755 (synopsis "Perl extension for crawling directory trees and compiling
756 lists of files")
757 (description
758 "The File::List module crawls the directory tree starting at the
759 provided base directory and can return files (and/or directories if desired)
760 matching a regular expression.")
761 (home-page "http://search.cpan.org/~dopacki/File-List/")))
762
763 (define-public perl-file-which
764 (package
765 (name "perl-file-which")
766 (version "1.09")
767 (source (origin
768 (method url-fetch)
769 (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
770 "File-Which-" version ".tar.gz"))
771 (sha256
772 (base32
773 "1hxjyh9yrv32f3g8vrnr8iylzprajsac14vjm75kf1qnj1jyqbxp"))))
774 (build-system perl-build-system)
775 (native-inputs `(("test-script" ,perl-test-script)))
776 (synopsis "Portable implementation of the `which' utility")
777 (description
778 "File::Which was created to be able to get the paths to executable
779 programs on systems under which the `which' program wasn't implemented in the
780 shell.")
781 (home-page (string-append "http://search.cpan.org/~adamk/"
782 "File-Which-" version))
783 (license (package-license perl))))
784
785 (define-public perl-getopt-tabular
786 (package
787 (name "perl-getopt-tabular")
788 (version "0.3")
789 (source (origin
790 (method url-fetch)
791 (uri (string-append "mirror://cpan/authors/id/G/GW/GWARD/"
792 "Getopt-Tabular-" version ".tar.gz"))
793 (sha256
794 (base32
795 "0xskl9lcj07sdfx5dkma5wvhhgf5xlsq0khgh8kk34dm6dv0dpwv"))))
796 (build-system perl-build-system)
797 (synopsis "Table-driven argument parsing for Perl")
798 (description
799 "Getopt::Tabular is a Perl 5 module for table-driven argument parsing,
800 vaguely inspired by John Ousterhout's Tk_ParseArgv.")
801 (home-page (string-append "http://search.cpan.org/~gward/"
802 "Getopt-Tabular-" version))
803 (license (package-license perl))))
804
805 (define-public perl-inc-latest
806 (package
807 (name "perl-inc-latest")
808 (version "0.500")
809 (source
810 (origin
811 (method url-fetch)
812 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
813 "inc-latest-" version ".tar.gz"))
814 (sha256
815 (base32
816 "04f6qf6ll2hkdsr9aglykg3wlgsnf0w4f264nzg4i9y6cgrhbafs"))))
817 (build-system perl-build-system)
818 (home-page "http://search.cpan.org/dist/inc-latest")
819 (synopsis "Use modules in inc/ if newer than installed")
820 (description "The inc::latest module helps bootstrap configure-time
821 dependencies for CPAN distributions. These dependencies get bundled into the
822 inc directory within a distribution and are used by Makefile.PL or Build.PL.")
823 (license asl2.0)))
824
825 (define-public perl-io-tty
826 (package
827 (name "perl-io-tty")
828 (version "1.11")
829 (source (origin
830 (method url-fetch)
831 (uri (string-append "mirror://cpan/authors/id/T/TO/TODDR/IO-Tty-"
832 version ".tar.gz"))
833 (sha256
834 (base32
835 "0lgd9xcbi4gf4gw1ka6fj94my3w1f3k1zamb4pfln0qxz45zlxx4"))))
836 (build-system perl-build-system)
837 (home-page "http://search.cpan.org/~toddr/IO-Tty/")
838 (synopsis "Perl interface to pseudo ttys")
839 (description
840 "This package provides the 'IO::Pty' and 'IO::Tty' Perl interfaces to
841 pseudo ttys.")
842 (license (package-license perl))))
843
844 (define-public perl-ipc-run3
845 (package
846 (name "perl-ipc-run3")
847 (version "0.048")
848 (source (origin
849 (method url-fetch)
850 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
851 "IPC-Run3-" version ".tar.gz"))
852 (sha256
853 (base32
854 "0r9m8q78bg7yycpixd7738jm40yz71p2q7inm766kzsw3g6c709x"))))
855 (build-system perl-build-system)
856 (synopsis "Run a subprocess with input/ouput redirection")
857 (description
858 "The IPC::Run3 module allows you to run a subprocess and redirect stdin,
859 stdout, and/or stderr to files and perl data structures. It aims to satisfy
860 99% of the need for using system, qx, and open3 with a simple, extremely
861 Perlish API and none of the bloat and rarely used features of IPC::Run.")
862 (home-page (string-append "http://search.cpan.org/~rjbs/"
863 "IPC-Run3-" version))
864 ;; "You may use this module under the terms of the BSD, Artistic, or GPL
865 ;; licenses, any version."
866 (license (list bsd-3 gpl3+))))
867
868 (define-public perl-module-build-tiny
869 (package
870 (name "perl-module-build-tiny")
871 (version "0.039")
872 (source
873 (origin
874 (method url-fetch)
875 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
876 "Module-Build-Tiny-" version ".tar.gz"))
877 (sha256
878 (base32
879 "077ijxbvamybph4ymamy1i9q2993xb46vf1npxaybjz0mkv0yn3x"))))
880 (build-system perl-build-system)
881 (native-inputs
882 `(("perl-extutils-installpaths" ,perl-extutils-installpaths)
883 ("perl-extutils-config" ,perl-extutils-config)
884 ("perl-extutils-helpers" ,perl-extutils-helpers)
885 ("perl-test-harness" ,perl-test-harness)))
886 (propagated-inputs
887 `(("perl-extutils-installpaths" ,perl-extutils-installpaths)
888 ("perl-extutils-config" ,perl-extutils-config)
889 ("perl-extutils-helpers" ,perl-extutils-helpers)
890 ("perl-test-harness" ,perl-test-harness)))
891 (home-page "http://search.cpan.org/dist/Module-Build-Tiny")
892 (synopsis "Tiny replacement for Module::Build")
893 (description "Many Perl distributions use a Build.PL file instead of a
894 Makefile.PL file to drive distribution configuration, build, test and
895 installation. Traditionally, Build.PL uses Module::Build as the underlying
896 build system. This module provides a simple, lightweight, drop-in
897 replacement. Whereas Module::Build has over 6,700 lines of code; this module
898 has less than 120, yet supports the features needed by most distributions.")
899 (license (package-license perl))))
900
901 (define-public perl-module-implementation
902 (package
903 (name "perl-module-implementation")
904 (version "0.09")
905 (source
906 (origin
907 (method url-fetch)
908 (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
909 "Module-Implementation-" version ".tar.gz"))
910 (sha256
911 (base32
912 "0vfngw4dbryihqhi7g9ks360hyw8wnpy3hpkzyg0q4y2y091lpy1"))))
913 (build-system perl-build-system)
914 (native-inputs
915 `(("perl-test-fatal" ,perl-test-fatal)
916 ("perl-test-requires" ,perl-test-requires)))
917 (propagated-inputs
918 `(("perl-module-runtime" ,perl-module-runtime)
919 ("perl-try-tiny" ,perl-try-tiny)))
920 (home-page "http://search.cpan.org/dist/Module-Implementation")
921 (synopsis "Loads alternate underlying implementations for a module")
922 (description "This module abstracts out the process of choosing one of
923 several underlying implementations for a module. This can be used to provide
924 XS and pure Perl implementations of a module, or it could be used to load an
925 implementation for a given OS or any other case of needing to provide multiple
926 implementations.")
927 (license artistic2.0)))
928
929 (define-public perl-module-runtime
930 (package
931 (name "perl-module-runtime")
932 (version "0.014")
933 (source
934 (origin
935 (method url-fetch)
936 (uri (string-append "mirror://cpan/authors/id/Z/ZE/ZEFRAM/"
937 "Module-Runtime-" version ".tar.gz"))
938 (sha256
939 (base32
940 "19326f094jmjs6mgpwkyisid54k67w34br8yfh0gvaaml87gwi2c"))))
941 (build-system perl-build-system)
942 (home-page "http://search.cpan.org/dist/Module-Runtime")
943 (synopsis "Perl runtime module handling")
944 (description "The functions exported by this module deal with runtime
945 handling of Perl modules, which are normally handled at compile time.")
946 (license (package-license perl))))
947
948 (define-public perl-mro-compat
949 (package
950 (name "perl-mro-compat")
951 (version "0.12")
952 (source
953 (origin
954 (method url-fetch)
955 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
956 "MRO-Compat-" version ".tar.gz"))
957 (sha256
958 (base32
959 "1mhma2g83ih9f8nkmg2k9l0x6izhhbb6k5lli4rpllxad4wbk9dv"))))
960 (build-system perl-build-system)
961 (home-page "http://search.cpan.org/dist/MRO-Compat")
962 (synopsis "MRO interface compatibility for Perls < 5.9.5")
963 (description "The \"mro\" namespace provides several utilities for dealing
964 with method resolution order and method caching in general in Perl 5.9.5 and
965 higher. This module provides those interfaces for earlier versions of
966 Perl (back to 5.6.0).")
967 (license (package-license perl))))
968
969 (define-public perl-namespace-clean
970 (package
971 (name "perl-namespace-clean")
972 (version "0.25")
973 (source
974 (origin
975 (method url-fetch)
976 (uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
977 "namespace-clean-" version ".tar.gz"))
978 (sha256
979 (base32
980 "016dds70ql1mp18b07chkxiy4drn976ibnbshqc2hmhrh9xjnsll"))))
981 (build-system perl-build-system)
982 (propagated-inputs
983 `(("perl-package-stash" ,perl-package-stash)
984 ("perl-b-hooks-endofscope" ,perl-b-hooks-endofscope)))
985 (home-page "http://search.cpan.org/dist/namespace-clean")
986 (synopsis "Keep imports and functions out of your namespace")
987 (description "The namespace::clean pragma will remove all previously
988 declared or imported symbols at the end of the current package's compile
989 cycle. Functions called in the package itself will still be bound by their
990 name, but they won't show up as methods on your class or instances.")
991 (license (package-license perl))))
992
993 (define-public perl-number-compare
994 (package
995 (name "perl-number-compare")
996 (version "0.03")
997 (source
998 (origin
999 (method url-fetch)
1000 (uri (string-append "mirror://cpan/authors/id/R/RC/RCLAMP/"
1001 "Number-Compare-" version ".tar.gz"))
1002 (sha256
1003 (base32
1004 "09q8i0mxvr7q9vajwlgawsi0hlpc119gnhq4hc933d03x0vkfac3"))))
1005 (build-system perl-build-system)
1006 (home-page "http://search.cpan.org/dist/Number-Compare")
1007 (synopsis "Numeric comparisons")
1008 (description "Number::Compare compiles a simple comparison to an anonymous
1009 subroutine, which you can call with a value to be tested against.")
1010 (license (package-license perl))))
1011
1012 (define-public perl-package-anon
1013 (package
1014 (name "perl-package-anon")
1015 (version "0.05")
1016 (source
1017 (origin
1018 (method url-fetch)
1019 (uri (string-append "mirror://cpan/authors/id/A/AU/AUGGY/"
1020 "Package-Anon-" version ".tar.gz"))
1021 (sha256
1022 (base32
1023 "1fj1fakkfklf2iwzsl64vfgshya3jgm6vhxiphw12wlac9g2il0m"))))
1024 (build-system perl-build-system)
1025 (propagated-inputs
1026 `(("perl-sub-exporter" ,perl-sub-exporter)
1027 ("perl-params-util" ,perl-params-util)))
1028 (home-page "http://search.cpan.org/dist/Package-Anon")
1029 (synopsis "Anonymous packages")
1030 (description "This module allows for anonymous packages that are
1031 independent of the main namespace and only available through an object
1032 instance, not by name.")
1033 (license (package-license perl))))
1034
1035 (define-public perl-package-stash
1036 (package
1037 (name "perl-package-stash")
1038 (version "0.37")
1039 (source
1040 (origin
1041 (method url-fetch)
1042 (uri (string-append "mirror://cpan/authors/id/D/DO/DOY/"
1043 "Package-Stash-" version ".tar.gz"))
1044 (sha256
1045 (base32
1046 "0b3vg2nbzmz1m5qla4123rmfzmpfmwxkw78fghvwsc4iiww0baq6"))))
1047 (build-system perl-build-system)
1048 (native-inputs
1049 `(("perl-dist-checkconflicts" ,perl-dist-checkconflicts)
1050 ("perl-test-fatal" ,perl-test-fatal)
1051 ("perl-test-requires" ,perl-test-requires)
1052 ("perl-package-anon" ,perl-package-anon)))
1053 (propagated-inputs
1054 `(("perl-module-implementation" ,perl-module-implementation)
1055 ("perl-dist-checkconflicts" ,perl-dist-checkconflicts)
1056 ("perl-package-stash-xs" ,perl-package-stash-xs)))
1057 (home-page "http://search.cpan.org/dist/Package-Stash")
1058 (synopsis "Routines for manipulating stashes")
1059 (description "Manipulating stashes (Perl's symbol tables) is occasionally
1060 necessary, but incredibly messy, and easy to get wrong. This module hides all
1061 of that behind a simple API.")
1062 (license (package-license perl))))
1063
1064 (define-public perl-package-stash-xs
1065 (package
1066 (name "perl-package-stash-xs")
1067 (version "0.28")
1068 (source
1069 (origin
1070 (method url-fetch)
1071 (uri (string-append "mirror://cpan/authors/id/D/DO/DOY/"
1072 "Package-Stash-XS-" version ".tar.gz"))
1073 (sha256
1074 (base32
1075 "11nl69n8i56p91pd0ia44ip0vpv2cxwpbfakrv01vvv8az1cbn13"))))
1076 (build-system perl-build-system)
1077 (native-inputs
1078 `(("perl-test-fatal" ,perl-test-fatal)
1079 ("perl-test-requires" ,perl-test-requires)
1080 ("perl-package-anon" ,perl-package-anon)))
1081 (home-page "http://search.cpan.org/dist/Package-Stash-XS")
1082 (synopsis "Faster implementation of the Package::Stash API")
1083 (description "This is a backend for Package::Stash, which provides the
1084 functionality in a way that's less buggy and much faster. It will be used by
1085 default if it's installed, and should be preferred in all environments with a
1086 compiler.")
1087 (license (package-license perl))))
1088
1089 (define-public perl-padwalker
1090 (package
1091 (name "perl-padwalker")
1092 (version "2.0")
1093 (source
1094 (origin
1095 (method url-fetch)
1096 (uri (string-append "mirror://cpan/authors/id/R/RO/ROBIN/"
1097 "PadWalker-" version ".tar.gz"))
1098 (sha256
1099 (base32
1100 "058l78rkr6px3rqcv2sdf9sqimdq1nc6py5yb9rrg3wmva7crw84"))))
1101 (build-system perl-build-system)
1102 (home-page "http://search.cpan.org/dist/PadWalker")
1103 (synopsis "Play with other peoples' lexical variables")
1104 (description "PadWalker is a module which allows you to inspect (and even
1105 change) lexical variables in any subroutine which called you. It will only
1106 show those variables which are in scope at the point of the call. PadWalker
1107 is particularly useful for debugging.")
1108 (license (package-license perl))))
1109
1110 (define-public perl-params-util
1111 (package
1112 (name "perl-params-util")
1113 (version "1.07")
1114 (source
1115 (origin
1116 (method url-fetch)
1117 (uri (string-append
1118 "mirror://cpan/authors/id/A/AD/ADAMK/Params-Util-"
1119 version ".tar.gz"))
1120 (sha256
1121 (base32
1122 "0v67sx93yhn7xa0nh9mnbf8mixf54czk6wzrjsp6dzzr5hzyrw9h"))))
1123 (build-system perl-build-system)
1124 (home-page "http://search.cpan.org/dist/Params-Util")
1125 (synopsis "Simple, compact and correct param-checking functions")
1126 (description
1127 "Params::Util provides a basic set of importable functions that makes
1128 checking parameters easier.")
1129 (license (package-license perl))))
1130
1131 (define-public perl-probe-perl
1132 (package
1133 (name "perl-probe-perl")
1134 (version "0.03")
1135 (source (origin
1136 (method url-fetch)
1137 (uri (string-append "mirror://cpan/authors/id/K/KW/KWILLIAMS/"
1138 "Probe-Perl-" version ".tar.gz"))
1139 (sha256
1140 (base32
1141 "0c9wiaz0mqqknafr4jdr0g2gdzxnn539182z0icqaqvp5qgd5r6r"))))
1142 (build-system perl-build-system)
1143 (synopsis "Information about the currently running perl")
1144 (description
1145 "Probe::Perl provides methods for obtaining information about the
1146 currently running perl interpreter. It originally began life as code in the
1147 Module::Build project, but has been externalized here for general use.")
1148 (home-page (string-append "http://search.cpan.org/~kwilliams/"
1149 "Probe-Perl-" version))
1150 (license (package-license perl))))
1151
1152 (define-public perl-regexp-common
1153 (package
1154 (name "perl-regexp-common")
1155 (version "2013031301")
1156 (source (origin
1157 (method url-fetch)
1158 (uri (string-append "mirror://cpan/authors/id/A/AB/ABIGAIL/"
1159 "Regexp-Common-" version ".tar.gz"))
1160 (sha256
1161 (base32
1162 "112wybsm0vr8yfannx6sdfvgp5vza28gjgr3pgn69ak4sac836kj"))))
1163 (build-system perl-build-system)
1164 (synopsis "Provide commonly requested regular expressions")
1165 (description
1166 "This module exports a single hash (`%RE') that stores or generates
1167 commonly needed regular expressions. Patterns currently provided include:
1168 balanced parentheses and brackets, delimited text (with escapes), integers and
1169 floating-point numbers in any base (up to 36), comments in 44 languages,
1170 offensive language, lists of any pattern, IPv4 addresses, URIs, and Zip
1171 codes.")
1172 (home-page (string-append "http://search.cpan.org/~abigail/"
1173 "Regexp-Common-" version))
1174 ;; Quad-licensed: Perl Artistic, Perl Artistic 2.0, X11, and BSD.
1175 (license (list (package-license perl) x11 bsd-3))))
1176
1177 (define-public perl-sub-exporter
1178 (package
1179 (name "perl-sub-exporter")
1180 (version "0.987")
1181 (source
1182 (origin
1183 (method url-fetch)
1184 (uri (string-append
1185 "mirror://cpan/authors/id/R/RJ/RJBS/Sub-Exporter-"
1186 version ".tar.gz"))
1187 (sha256
1188 (base32
1189 "1ml3n1ck4ln9qjm2mcgkczj1jb5n1fkscz9c4x23v4db0glb4g2l"))))
1190 (build-system perl-build-system)
1191 (propagated-inputs
1192 `(("perl-data-optlist" ,perl-data-optlist)
1193 ("perl-params-util" ,perl-params-util)))
1194 (home-page "http://search.cpan.org/dist/Sub-Exporter")
1195 (synopsis "Sophisticated exporter for custom-built routines")
1196 (description
1197 "Sub::Exporter provides a sophisticated alternative to Exporter.pm for
1198 custom-built routines.")
1199 (license (package-license perl))))
1200
1201 (define-public perl-sub-exporter-progressive
1202 (package
1203 (name "perl-sub-exporter-progressive")
1204 (version "0.001011")
1205 (source
1206 (origin
1207 (method url-fetch)
1208 (uri (string-append "mirror://cpan/authors/id/F/FR/FREW/"
1209 "Sub-Exporter-Progressive-" version ".tar.gz"))
1210 (sha256
1211 (base32
1212 "01kwzbqwdhvadpphnczid03nlyj0h4cxaq3m3v2401bckkkcc606"))))
1213 (build-system perl-build-system)
1214 (native-inputs `(("perl-sub-exporter" ,perl-sub-exporter)))
1215 (home-page "http://search.cpan.org/dist/Sub-Exporter-Progressive")
1216 (synopsis "Only use Sub::Exporter if you need it")
1217 (description "Sub::Exporter is an incredibly powerful module, but with
1218 that power comes great responsibility, as well as some runtime penalties.
1219 This module is a \"Sub::Exporter\" wrapper that will let your users just use
1220 Exporter if all they are doing is picking exports, but use \"Sub::Exporter\"
1221 if your users try to use \"Sub::Exporter\"'s more advanced features, like
1222 renaming exports, if they try to use them.")
1223 (license (package-license perl))))
1224
1225 (define-public perl-sub-identify
1226 (package
1227 (name "perl-sub-identify")
1228 (version "0.10")
1229 (source
1230 (origin
1231 (method url-fetch)
1232 (uri (string-append "mirror://cpan/authors/id/R/RG/RGARCIA/"
1233 "Sub-Identify-" version ".tar.gz"))
1234 (sha256
1235 (base32
1236 "087fjcg6w576w47i1slj6mjfd3gl1b0airgddmn3prn0nff6nn2m"))))
1237 (build-system perl-build-system)
1238 (home-page "http://search.cpan.org/dist/Sub-Identify")
1239 (synopsis "Retrieve names of code references")
1240 (description "Sub::Identify allows you to retrieve the real name of code
1241 references.")
1242 (license (package-license perl))))
1243
1244 (define-public perl-sub-install
1245 (package
1246 (name "perl-sub-install")
1247 (version "0.928")
1248 (source
1249 (origin
1250 (method url-fetch)
1251 (uri (string-append
1252 "mirror://cpan/authors/id/R/RJ/RJBS/Sub-Install-"
1253 version ".tar.gz"))
1254 (sha256
1255 (base32
1256 "03zgk1yh128gciyx3q77zxzxg9kf8yy2gm46gdxqi24mcykngrb1"))))
1257 (build-system perl-build-system)
1258 (home-page "http://search.cpan.org/dist/Sub-Install")
1259 (synopsis "Install subroutines into packages easily")
1260 (description
1261 "Sub::Install makes it easy to install subroutines into packages without
1262 the unsightly mess of C<no strict> or typeglobs lying about where just anyone
1263 can see them.")
1264 (license (package-license perl))))
1265
1266 (define-public perl-sub-uplevel
1267 (package
1268 (name "perl-sub-uplevel")
1269 (version "0.24")
1270 (source
1271 (origin
1272 (method url-fetch)
1273 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
1274 "Sub-Uplevel-" version ".tar.gz"))
1275 (sha256
1276 (base32
1277 "1yzxqsim8vpavzqm2wfksh8dpmy6qbr9s3hdqqicp38br3lzd4qg"))))
1278 (build-system perl-build-system)
1279 (home-page "http://search.cpan.org/dist/Sub-Uplevel")
1280 (synopsis "Apparently run a function in a higher stack frame")
1281 (description "Like Tcl's uplevel() function, but not quite so dangerous.
1282 The idea is just to fool caller(). All the really naughty bits of Tcl's
1283 uplevel() are avoided.")
1284 (license (package-license perl))))
1285
1286 (define-public perl-sys-cpu
1287 (package
1288 (name "perl-sys-cpu")
1289 (version "0.61")
1290 (source (origin
1291 (method url-fetch)
1292 (uri (string-append "mirror://cpan/authors/id/M/MZ/MZSANFORD/"
1293 "Sys-CPU-" version ".tar.gz"))
1294 (sha256
1295 (base32
1296 "1r6976bs86j7zp51m5vh42xlyah951jgdlkimv202413kjvqc2i5"))))
1297 (build-system perl-build-system)
1298 (synopsis "Perl extension for getting CPU information")
1299 (description
1300 "In responce to a post on perlmonks.org, a module for counting the number
1301 of CPU's on a system. Support has now also been added for type of CPU and
1302 clock speed.")
1303 (home-page (string-append "http://search.cpan.org/~mzsanford/"
1304 "Sys-CPU-" version))
1305 (license (package-license perl))))
1306
1307 (define-public perl-test-cleannamespaces
1308 (package
1309 (name "perl-test-cleannamespaces")
1310 (version "0.16")
1311 (source
1312 (origin
1313 (method url-fetch)
1314 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1315 "Test-CleanNamespaces-" version ".tar.gz"))
1316 (sha256
1317 (base32
1318 "1ynrds515gcq954z34zm03rgcx0dskiaz7qj0k7k5gmrjj1kfycp"))))
1319 (build-system perl-build-system)
1320 (native-inputs
1321 `(("perl-test-requires" ,perl-test-requires)
1322 ("perl-test-deep" ,perl-test-deep)
1323 ("perl-test-warnings" ,perl-test-warnings)
1324 ("perl-test-tester" ,perl-test-tester)))
1325 (propagated-inputs
1326 `(("perl-namespace-clean" ,perl-namespace-clean)
1327 ("perl-package-stash" ,perl-package-stash)
1328 ("perl-sub-identify" ,perl-sub-identify)
1329 ("perl-sub-exporter" ,perl-sub-exporter)
1330 ("perl-file-find-rule" ,perl-file-find-rule)
1331 ("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
1332 (home-page "http://search.cpan.org/dist/Test-CleanNamespaces")
1333 (synopsis "Check for uncleaned imports")
1334 (description "This module lets you check your module's namespaces for
1335 imported functions you might have forgotten to remove with
1336 namespace::autoclean or namespace::clean and are therefore available to be
1337 called as methods, which usually isn't want you want.")
1338 (license (package-license perl))))
1339
1340 (define-public perl-test-deep
1341 (package
1342 (name "perl-test-deep")
1343 (version "0.114")
1344 (source (origin
1345 (method url-fetch)
1346 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
1347 "Test-Deep-" version ".tar.gz"))
1348 (sha256
1349 (base32
1350 "09yr47vw7vj27sdik312x08938higcij8ybyq8k67mlccx8cpqf0"))))
1351 (build-system perl-build-system)
1352 (inputs `(("perl-test-tester" ,perl-test-tester)
1353 ("perl-test-nowarnings" ,perl-test-nowarnings)))
1354 (synopsis "Flexible deep comparison for the Test::Builder framework")
1355 (description
1356 "Test::Deep compares two structures by going through each level, ensuring
1357 that the values match, that arrays and hashes have the same elements and that
1358 references are blessed into the correct class. It also handles circular data
1359 structures without getting caught in an infinite loop.")
1360 (home-page (string-append "http://search.cpan.org/~rjbs/"
1361 "Test-Deep-" version))
1362 (license gpl1+))) ; or "Artistic License"
1363
1364 (define-public perl-test-differences
1365 (package
1366 (name "perl-test-differences")
1367 (version "0.63")
1368 (source
1369 (origin
1370 (method url-fetch)
1371 (uri (string-append "mirror://cpan/authors/id/D/DC/DCANTRELL/"
1372 "Test-Differences-" version ".tar.gz"))
1373 (sha256
1374 (base32
1375 "0rhs4q6qn64ji06ns7lwl6iiiw3mggvd9xk9nkiqvx1jihbplrbw"))))
1376 (build-system perl-build-system)
1377 (propagated-inputs
1378 `(("perl-text-diff" ,perl-text-diff)
1379 ("perl-capture-tiny" ,perl-capture-tiny)))
1380 (home-page "http://search.cpan.org/dist/Test-Differences")
1381 (synopsis "Test strings and data structures and show differences")
1382 (description "This module exports three test functions and four diff-style
1383 functions")
1384 ;; See LICENSE section of Test/Differences.pm, which reads "... GNU public
1385 ;; license, any version, ..."
1386 (license gpl3+)))
1387
1388 (define-public perl-test-directory
1389 (package
1390 (name "perl-test-directory")
1391 (version "0.041")
1392 (source
1393 (origin
1394 (method url-fetch)
1395 (uri (string-append "mirror://cpan/authors/id/S/SA/SANBEG/"
1396 "Test-Directory-" version ".tar.gz"))
1397 (sha256
1398 (base32
1399 "1ncql08cizhicbxwd753b4czns8nlcnlw0zfjcfrbdd41x4j6hqr"))))
1400 (build-system perl-build-system)
1401 (native-inputs `(("perl-test-exception" ,perl-test-exception)))
1402 (home-page "http://search.cpan.org/dist/Test-Directory")
1403 (synopsis "Perl extension for maintaining test directories")
1404 (description "Testing code can involve making sure that files are created
1405 and deleted as expected. Doing this manually can be error prone, as it's easy
1406 to forget a file, or miss that some unexpected file was added. This module
1407 simplifies maintaining test directories by tracking their status as they are
1408 modified or tested with this API, making it simple to test both individual
1409 files, as well as to verify that there are no missing or unknown files.")
1410 (license (package-license perl))))
1411
1412 (define-public perl-test-exception
1413 (package
1414 (name "perl-test-exception")
1415 (version "0.36")
1416 (source
1417 (origin
1418 (method url-fetch)
1419 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1420 "Test-Exception-" version ".tar.gz"))
1421 (sha256
1422 (base32
1423 "1zpwimspbq11wjrli481qk17aabzxab15cnnryflx45nzn3za2xk"))))
1424 (build-system perl-build-system)
1425 (native-inputs
1426 `(("perl-module-build" ,perl-module-build)))
1427 (propagated-inputs
1428 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
1429 (home-page "http://search.cpan.org/dist/Test-Exception")
1430 (synopsis "Test exception based code")
1431 (description "This module provides a few convenience methods for testing
1432 exception based code. It is built with Test::Builder and plays happily with
1433 Test::More and friends.")
1434 (license (package-license perl))))
1435
1436 (define-public perl-test-fatal
1437 (package
1438 (name "perl-test-fatal")
1439 (version "0.014")
1440 (source
1441 (origin
1442 (method url-fetch)
1443 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
1444 "Test-Fatal-" version ".tar.gz"))
1445 (sha256
1446 (base32
1447 "1c6bs68mss4q7cyapkv2c0jn66i21050p0faxf3s3417gdffzp5w"))))
1448 (build-system perl-build-system)
1449 (propagated-inputs `(("perl-try-tiny" ,perl-try-tiny)))
1450 (home-page "http://search.cpan.org/dist/Test-Fatal")
1451 (synopsis "Simple helpers for testing code with exceptions")
1452 (description "Test::Fatal is an alternative to the popular
1453 Test::Exception. It does much less, but should allow greater flexibility in
1454 testing exception-throwing code with about the same amount of typing.")
1455 (license (package-license perl))))
1456
1457 (define-public perl-test-harness
1458 (package
1459 (name "perl-test-harness")
1460 (version "3.35")
1461 (source
1462 (origin
1463 (method url-fetch)
1464 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
1465 "Test-Harness-" version ".tar.gz"))
1466 (sha256
1467 (base32
1468 "06l29y1bpizb9vd9g49lgi0wzj1xy4rsk42ahdj3fpgqnvb9wp05"))))
1469 (build-system perl-build-system)
1470 (arguments
1471 `(#:phases (alist-cons-before
1472 'check 'patch-test
1473 (lambda* (#:key inputs #:allow-other-keys)
1474 ;; This test looks for "#!/usr/bin/perl" in some source.
1475 ;; Patch what the test looks for.
1476 (substitute* "t/source.t"
1477 (("#!/usr/bin/perl")
1478 (string-append "#!" (assoc-ref inputs "perl")
1479 "/bin/perl"))))
1480 %standard-phases)))
1481 (home-page "http://search.cpan.org/dist/Test-Harness")
1482 (synopsis "Run Perl standard test scripts with statistics")
1483 (description "Simple test harness which allows tests to be run and results
1484 automatically aggregated and output to STDOUT.")
1485 (license (package-license perl))))
1486
1487 (define-public perl-test-most
1488 (package
1489 (name "perl-test-most")
1490 (version "0.34")
1491 (source
1492 (origin
1493 (method url-fetch)
1494 (uri (string-append "mirror://cpan/authors/id/O/OV/OVID/"
1495 "Test-Most-" version ".tar.gz"))
1496 (sha256
1497 (base32
1498 "0i72aih3pakm8gh73wx1n4dwq8lbx6dvxhla46gsapszws6hr0n2"))))
1499 (build-system perl-build-system)
1500 (propagated-inputs
1501 `(("perl-test-differences" ,perl-test-differences)
1502 ("perl-test-warn" ,perl-test-warn)
1503 ("perl-exception-class" ,perl-exception-class)
1504 ("perl-test-deep" ,perl-test-deep)
1505 ("perl-test-exception" ,perl-test-exception)))
1506 (home-page "http://search.cpan.org/dist/Test-Most")
1507 (synopsis "Most commonly needed test functions and features")
1508 (description "This module provides the most commonly used testing
1509 functions, along with automatically turning on strict and warning and gives a
1510 bit more fine-grained control over test suites.")
1511 (license (package-license perl))))
1512
1513 (define-public perl-test-nowarnings
1514 (package
1515 (name "perl-test-nowarnings")
1516 (version "1.04")
1517 (source (origin
1518 (method url-fetch)
1519 (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
1520 "Test-NoWarnings-" version ".tar.gz"))
1521 (sha256
1522 (base32
1523 "0v385ch0hzz9naqwdw2az3zdqi15gka76pmiwlgsy6diiijmg2k3"))))
1524 (build-system perl-build-system)
1525 (inputs `(("perl-test-tester" ,perl-test-tester)))
1526 (synopsis "Ensure no warnings are produced while testing")
1527 (description
1528 "This modules causes any warnings during testing to be captured and
1529 stored. It automatically adds an extra test that will run when your script
1530 ends to check that there were no warnings. If there were any warings, the
1531 test will fail and output diagnostics of where, when and what the warning was,
1532 including a stack trace of what was going on when it occurred.")
1533 (home-page (string-append "http://search.cpan.org/~adamk/"
1534 "Test-NoWarnings-" version))
1535 (license lgpl2.1)))
1536
1537 (define-public perl-test-output
1538 (package
1539 (name "perl-test-output")
1540 (version "1.03")
1541 (source (origin
1542 (method url-fetch)
1543 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
1544 "Test-Output-" version ".tar.gz"))
1545 (sha256
1546 (base32
1547 "12991jnzj4cbw9whhprmqvnzd1ayii84g2mh8vxbjngwqrjsy41i"))))
1548 (build-system perl-build-system)
1549 (propagated-inputs
1550 `(("perl-capture-tiny" ,perl-capture-tiny)
1551 ("perl-test-tester" ,perl-test-tester)
1552 ("perl-sub-exporter" ,perl-sub-exporter)))
1553 (synopsis "Utilities to test STDOUT and STDERR messages")
1554 (description
1555 "Test::Output provides a simple interface for testing output sent to
1556 STDOUT or STDERR. A number of different utilities are included to try and be
1557 as flexible as possible to the tester.")
1558 (home-page (string-append "http://search.cpan.org/~bdfoy/"
1559 "Test-Output-" version))
1560 (license (package-license perl))))
1561
1562 (define-public perl-test-requires
1563 (package
1564 (name "perl-test-requires")
1565 (version "0.08")
1566 (source
1567 (origin
1568 (method url-fetch)
1569 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
1570 "Test-Requires-" version ".tar.gz"))
1571 (sha256
1572 (base32
1573 "08c29m0dn34384mmmpqqlbb899zpbkkc01c2lsp31mch1frv9cg7"))))
1574 (build-system perl-build-system)
1575 (home-page "http://search.cpan.org/dist/Test-Requires")
1576 (synopsis "Checks to see if the module can be loaded")
1577 (description "Test::Requires checks to see if the module can be loaded.
1578 If this fails, then rather than failing tests this skips all tests.")
1579 (license (package-license perl))))
1580
1581 (define-public perl-test-script
1582 (package
1583 (name "perl-test-script")
1584 (version "1.07")
1585 (source (origin
1586 (method url-fetch)
1587 (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
1588 "Test-Script-" version ".tar.gz"))
1589 (sha256
1590 (base32
1591 "15pb4zzsnm33msc1syhig2bk05xqc0pckmfyahdwbd177bj5w7p2"))))
1592 (build-system perl-build-system)
1593 (propagated-inputs
1594 `(("probe-perl" ,perl-probe-perl)
1595 ("ipc-run3" ,perl-ipc-run3)))
1596 (synopsis "Basic cross-platform tests for scripts")
1597 (description
1598 "The intent of the Test::Script module is to provide a series of basic
1599 tests for 80% of the testing you will need to do for scripts in the script (or
1600 bin as is also commonly used) paths of your Perl distribution.")
1601 (home-page (string-append "http://search.cpan.org/~adamk/"
1602 "Test-Script-" version))
1603 (license (package-license perl))))
1604
1605 (define-public perl-test-simple
1606 (package
1607 (name "perl-test-simple")
1608 (version "1.001014")
1609 (source (origin
1610 (method url-fetch)
1611 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1612 "Test-Simple-" version ".tar.gz"))
1613 (sha256
1614 (base32
1615 "0szi95shwwdvc4nqykzgx05g2m1001mjhvqqhjg5wypbi771992m"))))
1616 (build-system perl-build-system)
1617 (synopsis "Basic utilities for writing tests")
1618 (description
1619 "Test::Simple contains basic utilities for writing tests.")
1620 (home-page (string-append "http://search.cpan.org/~exodist/"
1621 "Test-Simple-" version))
1622 (license (package-license perl))))
1623
1624 (define-public perl-test-tester
1625 (package
1626 (name "perl-test-tester")
1627 (version "0.109")
1628 (source (origin
1629 (method url-fetch)
1630 (uri (string-append "mirror://cpan/authors/id/F/FD/FDALY/"
1631 "Test-Tester-" version ".tar.gz"))
1632 (sha256
1633 (base32
1634 "0m9n28z09kq455r5nydj1bnr85lvmbfpcbjdkjfbpmfb5xgciiyk"))))
1635 (build-system perl-build-system)
1636 (synopsis "Simplify running Test::Builder tests")
1637 (description
1638 "Test::Tester allows testing of test modules based on Test::Builder with
1639 a minimum of effort.")
1640 (home-page (string-append "http://search.cpan.org/~fdaly/"
1641 "Test-Tester-" version))
1642 ;; "Under the same license as Perl itself"
1643 (license (package-license perl))))
1644
1645 (define-public perl-test-warn
1646 (package
1647 (name "perl-test-warn")
1648 (version "0.30")
1649 (source
1650 (origin
1651 (method url-fetch)
1652 (uri (string-append "mirror://cpan/authors/id/C/CH/CHORNY/"
1653 "Test-Warn-" version ".tar.gz"))
1654 (sha256
1655 (base32
1656 "0haf2ii7br5z0psmkvlvmx2z2q9qz1c70gx0969r378qjidmb5w1"))))
1657 (build-system perl-build-system)
1658 (propagated-inputs
1659 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
1660 (home-page "http://search.cpan.org/dist/Test-Warn")
1661 (synopsis "Perl extension to test methods for warnings")
1662 (description "This module provides a few convenience methods for testing
1663 warning based code.")
1664 (license (package-license perl))))
1665
1666 (define-public perl-test-warnings
1667 (package
1668 (name "perl-test-warnings")
1669 (version "0.020")
1670 (source
1671 (origin
1672 (method url-fetch)
1673 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1674 "Test-Warnings-" version ".tar.gz"))
1675 (sha256
1676 (base32
1677 "1x262kybrdnbiiw53m1axp4zyh4lsfb9mm2shmpm8lwf7sp30isi"))))
1678 (build-system perl-build-system)
1679 (home-page "http://search.cpan.org/dist/Test-Warnings")
1680 (synopsis "Test for warnings and the lack of them")
1681 (description "This module is intended to be used as a drop-in replacement
1682 for Test::NoWarnings. It also adds an extra test, but runs this test before
1683 done_testing calculates the test count, rather than after. It does this by
1684 hooking into done_testing as well as via an END block. You can declare a
1685 plan, or not, and things will still Just Work.")
1686 (license (package-license perl))))
1687
1688 (define-public perl-text-diff
1689 (package
1690 (name "perl-text-diff")
1691 (version "1.41")
1692 (source
1693 (origin
1694 (method url-fetch)
1695 (uri (string-append "mirror://cpan/authors/id/O/OV/OVID/"
1696 "Text-Diff-" version ".tar.gz"))
1697 (sha256
1698 (base32
1699 "1ynjsa4sr1yvyh65sdfvahaafglibz70j8b6rj01cg1iisj50zx6"))))
1700 (build-system perl-build-system)
1701 (propagated-inputs
1702 `(("perl-algorithm-diff" ,perl-algorithm-diff)))
1703 (home-page "http://search.cpan.org/dist/Text-Diff")
1704 (synopsis "Perform diffs on files and record sets")
1705 (description "Text::Diff provides a basic set of services akin to the GNU
1706 diff utility. It is not anywhere near as feature complete as GNU diff, but it
1707 is better integrated with Perl and available on all platforms. It is often
1708 faster than shelling out to a system's diff executable for small files, and
1709 generally slower on larger files.")
1710 (license (package-license perl))))
1711
1712 (define-public perl-text-glob
1713 (package
1714 (name "perl-text-glob")
1715 (version "0.09")
1716 (source
1717 (origin
1718 (method url-fetch)
1719 (uri (string-append "mirror://cpan/authors/id/R/RC/RCLAMP/"
1720 "Text-Glob-" version ".tar.gz"))
1721 (sha256
1722 (base32
1723 "0lr76wrsj8wcxrq4wi8z1640w4dmdbkznp06q744rg3g0bd238d5"))))
1724 (build-system perl-build-system)
1725 (home-page "http://search.cpan.org/dist/Text-Glob")
1726 (synopsis "Match globbing patterns against text")
1727 (description "Text::Glob implements glob(3) style matching that can be
1728 used to match against text, rather than fetching names from a filesystem. If
1729 you want to do full file globbing use the File::Glob module instead.")
1730 (license (package-license perl))))
1731
1732 (define-public perl-try-tiny
1733 (package
1734 (name "perl-try-tiny")
1735 (version "0.22")
1736 (source
1737 (origin
1738 (method url-fetch)
1739 (uri (string-append "mirror://cpan/authors/id/D/DO/DOY/"
1740 "Try-Tiny-" version ".tar.gz"))
1741 (sha256
1742 (base32
1743 "068vdbpacfawc3lkfs0b82xxl27h3l0gj14iada3vlwk8rps9yv0"))))
1744 (build-system perl-build-system)
1745 (home-page "http://search.cpan.org/dist/Try-Tiny")
1746 (synopsis "Minimal try/catch with proper preservation of $@")
1747 (description "This module provides bare bones try/catch/finally statements
1748 that are designed to minimize common mistakes with eval blocks, and nothing
1749 else.")
1750 (license x11)))
1751
1752 (define-public perl-variable-magic
1753 (package
1754 (name "perl-variable-magic")
1755 (version "0.55")
1756 (source
1757 (origin
1758 (method url-fetch)
1759 (uri (string-append "mirror://cpan/authors/id/V/VP/VPIT/"
1760 "Variable-Magic-" version ".tar.gz"))
1761 (sha256
1762 (base32
1763 "0xzh2vy45ph80bp09j5fcjy8ydgn8yaxsa0fj831q6p1spvyniwg"))))
1764 (build-system perl-build-system)
1765 (home-page "http://search.cpan.org/dist/Variable-Magic")
1766 (synopsis "Associate user-defined magic to variables from Perl")
1767 (description "Magic is Perl's way of enhancing variables. This mechanism
1768 lets the user add extra data to any variable and hook syntactical
1769 operations (such as access, assignment or destruction) that can be applied to
1770 it. With this module, you can add your own magic to any variable without
1771 having to write a single line of XS.")
1772 (license (package-license perl))))
1773
1774 \f
1775 ;;; Some packaged modules need versions of core modules that are newer than
1776 ;;; those in our perl 5.16.1.
1777
1778 (define-public perl-cpan-meta
1779 (package
1780 (name "perl-cpan-meta")
1781 (version "2.143240")
1782 (source
1783 (origin
1784 (method url-fetch)
1785 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
1786 "CPAN-Meta-" version ".tar.gz"))
1787 (sha256
1788 (base32
1789 "1d80bxphpp5dq7fx5ipxszn7j8q9d85w6fnapdrbym21k1vsmlf6"))))
1790 (build-system perl-build-system)
1791 (propagated-inputs
1792 `(("perl-cpan-meta-requirements" ,perl-cpan-meta-requirements)
1793 ("perl-cpan-meta-yaml" ,perl-cpan-meta-yaml)
1794 ("perl-parse-cpan-meta" ,perl-parse-cpan-meta)))
1795 (home-page "http://search.cpan.org/dist/CPAN-Meta")
1796 (synopsis "Distribution metadata for a CPAN dist")
1797 (description "Software distributions released to the CPAN include a
1798 META.json or, for older distributions, META.yml, which describes the
1799 distribution, its contents, and the requirements for building and installing
1800 the distribution. The data structure stored in the META.json file is
1801 described in CPAN::Meta::Spec. CPAN::Meta provides a simple class to
1802 represent this distribution metadata (or distmeta), along with some helpful
1803 methods for interrogating that data.")
1804 (license (package-license perl))))
1805
1806 (define-public perl-cpan-meta-requirements
1807 (package
1808 (name "perl-cpan-meta-requirements")
1809 (version "2.131")
1810 (source
1811 (origin
1812 (method url-fetch)
1813 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
1814 "CPAN-Meta-Requirements-" version ".tar.gz"))
1815 (sha256
1816 (base32
1817 "12p5s7w3cwcrbpcrxzanvpr0syswhwlqzbaki6m044c45jix2fss"))))
1818 (build-system perl-build-system)
1819 (home-page "http://search.cpan.org/dist/CPAN-Meta-Requirements")
1820 (synopsis "Set of version requirements for a CPAN dist")
1821 (description "A CPAN::Meta::Requirements object models a set of version
1822 constraints like those specified in the META.yml or META.json files in CPAN
1823 distributions, and as defined by CPAN::Meta::Spec. It can be built up by
1824 adding more and more constraints, and will reduce them to the simplest
1825 representation.")
1826 (license (package-license perl))))
1827
1828 (define-public perl-cpan-meta-yaml
1829 (package
1830 (name "perl-cpan-meta-yaml")
1831 (version "0.012")
1832 (source
1833 (origin
1834 (method url-fetch)
1835 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
1836 "CPAN-Meta-YAML-" version ".tar.gz"))
1837 (sha256
1838 (base32
1839 "0a0d62w8d81kkas4j1h48znk0f0vrpibl31gvz9r8hm77dbqqwkw"))))
1840 (build-system perl-build-system)
1841 (arguments
1842 `(#:tests? #f)) ;Tests require Test::More >= 0.99
1843 (home-page "http://search.cpan.org/dist/CPAN-Meta-YAML")
1844 (synopsis "Read and write a subset of YAML for CPAN Meta files")
1845 (description "This module implements a subset of the YAML specification
1846 for use in reading and writing CPAN metadata files like META.yml and
1847 MYMETA.yml.")
1848 (license (package-license perl))))
1849
1850 (define-public perl-module-build
1851 (package
1852 (name "perl-module-build")
1853 (version "0.4211")
1854 (source
1855 (origin
1856 (method url-fetch)
1857 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
1858 "Module-Build-" version ".tar.gz"))
1859 (sha256
1860 (base32
1861 "1c5hfhajr963w4mdjivsc7yz4vf4pz1rrfch5a93fbac1x2mr58h"))))
1862 (build-system perl-build-system)
1863 (propagated-inputs
1864 `(("perl-cpan-meta" ,perl-cpan-meta)))
1865 (home-page "http://search.cpan.org/dist/Module-Build")
1866 (synopsis "Build and install Perl modules")
1867 (description "\"Module::Build\" is a system for building, testing, and
1868 installing Perl modules. It is meant to be an alternative to
1869 \"ExtUtils::MakeMaker\". Developers may alter the behavior of the module
1870 through subclassing in a much more straightforward way than with
1871 \"MakeMaker\". It also does not require a \"make\" on your system - most of
1872 the \"Module::Build\" code is pure-perl and written in a cross-platform way.")
1873 (license (package-license perl))))
1874
1875 (define-public perl-parse-cpan-meta
1876 (package
1877 (name "perl-parse-cpan-meta")
1878 (version "1.4414")
1879 (source
1880 (origin
1881 (method url-fetch)
1882 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
1883 "Parse-CPAN-Meta-" version ".tar.gz"))
1884 (sha256
1885 (base32
1886 "06ya2rg599qanqb1fxiyrd489mvmdgzbw4ph23hwjwpv9lahhxnd"))))
1887 (build-system perl-build-system)
1888 (propagated-inputs
1889 `(("perl-cpan-meta-yaml" ,perl-cpan-meta-yaml)))
1890 (home-page "http://search.cpan.org/dist/Parse-CPAN-Meta")
1891 (synopsis "Parse META.yml and META.json CPAN metadata files")
1892 (description "Parse::CPAN::Meta is a parser for META.json and META.yml
1893 files, using JSON::PP and/or CPAN::Meta::YAML.")
1894 (license (package-license perl))))
1895
1896 ;;; END: Core module overrides