X-Git-Url: http://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/8a525c3f08d33bdef1f67407b89288ab130a59a2..28791c1c8d43e14878f8cc67a15b6036699ec252:/gnu/packages/perl.scm diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 7b91a066f8..6b3d0a7868 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès ;;; Copyright © 2013 Andreas Enge -;;; Copyright © 2015 Ricardo Wurmus +;;; Copyright © 2015, 2016 Ricardo Wurmus ;;; Copyright © 2015, 2016 Eric Bavier ;;; Copyright © 2015 Eric Dvorsak ;;; Copyright © 2016 Mark H Weaver @@ -11,6 +11,7 @@ ;;; Copyright © 2016 Alex Sassmannshausen ;;; Copyright © 2016 Roel Janssen ;;; Copyright © 2016 Ben Woodcroft +;;; Copyright © 2016 Jan Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -244,6 +245,27 @@ manipulate, read, and write Zip archive files.") (home-page "http://search.cpan.org/~phred/Archive-Zip-1.37/lib/Archive/Zip.pm") (license (package-license perl)))) +(define-public perl-array-utils + (package + (name "perl-array-utils") + (version "0.5") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/Z/ZM/ZMIJ/Array/Array-Utils-" + version + ".tar.gz")) + (sha256 + (base32 + "0w1pwvnjdpb0n6k07zbknxwx6v7y75p4jxrs594pjhwvrmzippc9")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Array-Utils") + (synopsis "Small utils for array manipulation") + (description "@code{Array::Utils} is a small pure-perl module containing +list manipulation routines.") + (license (package-license perl)))) + (define-public perl-base (package (name "perl-base") @@ -382,7 +404,7 @@ in web applications to store data locally to save repeated and redundant expensive calls to remote machines or databases. People have also been known to use Cache::Cache for its straightforward interface in sharing data between runs of an application or invocations of a CGI-style script or simply as an -easy to use abstraction of the filesystem or shared memory.") +easy to use abstraction of the file system or shared memory.") (license (package-license perl)))) (define-public perl-cache-fastmmap @@ -679,6 +701,27 @@ subclasses and can be overridden.") type for perl.") (license (package-license perl)))) +(define-public perl-class-errorhandler + (package + (name "perl-class-errorhandler") + (version "0.04") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/" + "Class-ErrorHandler-" version ".tar.gz")) + (sha256 + (base32 + "00j5f0z4riyq7i95jww291dpmbn0hmmvkcbrh7p0p8lpqz7jsb9l")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Class-ErrorHandler") + (synopsis "Base class for error handling") + (description + "@code{Class::ErrorHandler} provides an error-handling mechanism that is generic +enough to be used as the base class for a variety of OO classes. Subclasses inherit +its two error-handling methods, error and errstr, to communicate error messages back +to the calling program.") + (license (package-license perl)))) + (define-public perl-class-factory-util (package (name "perl-class-factory-util") @@ -1750,6 +1793,53 @@ to create DateTime objects, with some custom tweaks to smooth out the rough edges (mainly concerning timezone detection and selection).") (license (package-license perl)))) +(define-public perl-datetime-format-mail + (package + (name "perl-datetime-format-mail") + (version "0.403") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/B/BO/BOOK/" + "DateTime-Format-Mail-" version ".tar.gz")) + (sha256 + (base32 + "1c7wapbi9g9p2za52l3skhh31vg4da5kx2yfqzsqyf3p8iff7y4d")))) + (build-system perl-build-system) + (inputs + `(("perl-datetime" ,perl-datetime) + ("perl-params-validate" ,perl-params-validate))) + (home-page "http://search.cpan.org/dist/DateTime-Format-Mail") + (synopsis "Convert between DateTime and RFC2822/822 formats") + (description "RFCs 2822 and 822 specify date formats to be used by email. +This module parses and emits such dates.") + (license (package-license perl)))) + +(define-public perl-datetime-format-w3cdtf + (package + (name "perl-datetime-format-w3cdtf") + (version "0.06") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/G/GW/GWILLIAMS/" + "DateTime-Format-W3CDTF-" version ".tar.gz")) + (sha256 + (base32 + "0ymxizwd2zfx8b4bmrmv4k439qwfwf2522jrvn4hlay5v6z459dr")))) + (build-system perl-build-system) + (inputs + `(("perl-datetime" ,perl-datetime))) + (native-inputs + `(("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage))) + (home-page "http://search.cpan.org/dist/DateTime-Format-W3CDTF") + (synopsis "Parse and format W3CDTF datetime strings") + (description + "This module understands the W3CDTF date/time format, an ISO 8601 profile, +defined at https://www.w3.org/TR/NOTE-datetime. This format is the native date +format of RSS 1.0. It can be used to parse these formats in order to create +the appropriate objects.") + (license (package-license perl)))) + (define-public perl-devel-caller (package (name "perl-devel-caller") @@ -2006,6 +2096,29 @@ SHA-1 message digest algorithm for use by Perl programs.") modules separately and deal with them after the module is done installing.") (license (package-license perl)))) +(define-public perl-env-path + (package + (name "perl-env-path") + (version "0.19") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/D/DS/DSB/Env-Path-" + version + ".tar.gz")) + (sha256 + (base32 + "1qhmj15a66h90pjl2dgnxsb9jj3b1r5mpvnr87cafcl8g69z0jr4")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Env-Path") + (synopsis "Advanced operations on path variables") + (description "@code{Env::Path} presents an object-oriented interface to +path variables, defined as that subclass of environment variables which name +an ordered list of file system elements separated by a platform-standard +separator.") + (license (package-license perl)))) + (define-public perl-error (package (name "perl-error") @@ -2281,6 +2394,29 @@ types Perl-related files, or replicating search queries run on a distribution in various parts of the CPAN ecosystem.") (license (package-license perl)))) +(define-public perl-file-grep + (package + (name "perl-file-grep") + (version "0.02") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/M/MN/MNEYLON/File-Grep-" + version + ".tar.gz")) + (sha256 + (base32 + "0cjnz3ak7s3x3y3q48xb9ka2q9d7xvch58vy80hqa9xn9qkiabj6")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/File-Grep") + (synopsis "Matches patterns in a series of files") + (description "@code{File::Grep} provides similar functionality as perl's +builtin @code{grep}, @code{map}, and @code{foreach} commands, but iterating +over a passed filelist instead of arrays. While trivial, this module can +provide a quick dropin when such functionality is needed.") + (license (package-license perl)))) + (define-public perl-file-homedir (package (name "perl-file-homedir") @@ -2306,6 +2442,28 @@ that arise trying to find them consistently across a wide variety of platforms.") (license (package-license perl)))) +(define-public perl-file-path + (package + (name "perl-file-path") + (version "2.12") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/R/RI/RICHE/File-Path-" + version + ".tar.gz")) + (sha256 + (base32 + "0znihrlcnlpa0ziml0hkq9s59p1bjd2a6khgx2accdf16w6imxmv")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/File-Path") + (synopsis "Create or remove directory trees") + (description "This module provide a convenient way to create directories +of arbitrary depth and to delete an entire directory subtree from the +file system.") + (license (package-license perl)))) + (define-public perl-file-list (package (name "perl-file-list") @@ -2527,6 +2685,34 @@ functionality; it returns a list of file names that match the given pattern. For instance, it supports the @code{**/*.pm} form.") (license (package-license perl)))) +(define-public perl-getopt-long + (package + (name "perl-getopt-long") + (version "v2.49.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/J/JV/JV/" + "Getopt-Long-" (substring version 1) ".tar.gz")) + (sha256 + (base32 + "0bw8gbhj8s5gmkqvs3m7pk9arqhgqssrby4yimh29ah9alix9ylq")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Getopt-Long") + (synopsis "Module to handle parsing command line options") + (description "The @code{Getopt::Long} module implements an extended getopt +function called @code{GetOptions()}. It parses the command line from +@code{ARGV}, recognizing and removing specified options and their possible +values. + +This function adheres to the POSIX syntax for command line options, with GNU +extensions. In general, this means that options have long names instead of +single letters, and are introduced with a double dash \"--\". Support for +bundling of command line options, as was the case with the more traditional +single-letter approach, is provided but not enabled by default.") + ;; Can be used with either license. + (license (list (package-license perl) gpl2+)))) + (define-public perl-getopt-long-descriptive (package (name "perl-getopt-long-descriptive") @@ -4208,6 +4394,28 @@ cycle. Functions called in the package itself will still be bound by their name, but they won't show up as methods on your class or instances.") (license (package-license perl)))) +(define-public perl-net-statsd + (package + (name "perl-net-statsd") + (version "0.12") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/C/CO/COSIMO/Net-Statsd-" + version + ".tar.gz")) + (sha256 + (base32 + "0p2nhrwamic2fyj094y583q088ixv9gbb82c3invqrd17mh57r33")))) + (build-system perl-build-system) + (home-page + "http://search.cpan.org/dist/Net-Statsd") + (synopsis "Perl client for Etsy's statsd daemon") + (description "This module implement a UDP client for the statsd statistics +collector daemon in use at Etsy.com.") + (license (package-license perl)))) + (define-public perl-number-compare (package (name "perl-number-compare") @@ -4477,6 +4685,31 @@ up inheritance from those modules at the same time.") directory specifications in a cross-platform manner.") (license (package-license perl)))) +(define-public perl-path-tiny + (package + (name "perl-path-tiny") + (version "0.096") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/" + "Path-Tiny-" version ".tar.gz")) + (sha256 + (base32 + "08dmr6ijjg3dp7h9dxix0nmad0fw16c6qzs4qc0hdz500gd64sr2")))) + (build-system perl-build-system) + (arguments + `(#:tests? #f)) ; Tests require additional test modules to be packaged + ;; (native-inputs + ;; `(("perl-test-failwarnings" ,perl-test-failwarnings) + ;; ("perl-test-mockrandom" ,perl-test-mockrandom))) + (inputs + `(("perl-unicode-utf8" ,perl-unicode-utf8))) + (home-page "http://search.cpan.org/dist/Path-Tiny") + (synopsis "File path utility") + (description "This module provides a small, fast utility for working +with file paths.") + (license asl2.0))) + (define-public perl-perlio-utf8_strict (package (name "perl-perlio-utf8-strict") @@ -5496,6 +5729,31 @@ Test::Exception. It does much less, but should allow greater flexibility in testing exception-throwing code with about the same amount of typing.") (license (package-license perl)))) +(define-public perl-test-files + (package + (name "perl-test-files") + (version "0.14") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/P/PH/PHILCROW/Test-Files-" + version + ".tar.gz")) + (sha256 + (base32 + "1zn33yigznq7i1jr4yjr4lxvc6bn7znkbqdzj7slhc146pqapkln")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-algorithm-diff" ,perl-algorithm-diff) + ("perl-text-diff" ,perl-text-diff))) + (home-page "http://search.cpan.org/dist/Test-Files") + (synopsis "Ease software testing with files and directories") + (description "This library provides functions to enable testing of files +and directories. For instance, the @code{file_ok} helper can test whether the +contents of a file is equal to a particular string.") + (license (package-license perl)))) + (define-public perl-test-harness (package (name "perl-test-harness") @@ -5566,10 +5824,33 @@ string comparison functions of Test::More, but which are more suitable when you test against long strings.") (license (package-license perl)))) +(define-public perl-test-manifest + (package + (name "perl-test-manifest") + (version "2.02") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/" + "Test-Manifest-" version ".tar.gz")) + (sha256 + (base32 + "15ik52l9macrrfizf4y6wj71d4lx7w590h2dfajnkmbxmz786iq6")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage))) + (home-page "http://search.cpan.org/dist/Test-Manifest") + (synopsis "Interact with a t/test_manifest file") + (description "@code{Test::Manifest} overrides the default test file order. Instead of +running all of the t/*.t files in ASCII-betical order, it looks in the t/test_manifest +file to find out which tests you want to run and the order in which you want to run them. +It constructs the right value for the build system to do the right thing.") + (license (package-license perl)))) + (define-public perl-test-mockobject (package (name "perl-test-mockobject") - (version "1.20140408") + (version "1.20150527") (source (origin (method url-fetch) @@ -5577,7 +5858,7 @@ you test against long strings.") "Test-MockObject-" version ".tar.gz")) (sha256 (base32 - "1anpf9l2wdriwaxw6pf76ghxkh4zm25n3wnhfqy1b439xqnhvzg5")))) + "160xvhbpwqjaff4fgckvldknldzcbn1z3jvyzybs7cqlj1x3bwdd")))) (build-system perl-build-system) (native-inputs `(("perl-test-exception" ,perl-test-exception) @@ -5800,14 +6081,14 @@ makes fork(2) safe to use in test cases.") (define-public perl-test-simple (package (name "perl-test-simple") - (version "1.302026") + (version "1.302062") (source (origin (method url-fetch) (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/" "Test-Simple-" version ".tar.gz")) (sha256 (base32 - "1mq1sykv48rgjamw4wxa290mnyjm0dw9w9lpzncnac9gfx18vm72")))) + "1sjny65iwnin35lvc203pb07gyx9wrp3gmn6lfrjsbmi986hcab7")))) (build-system perl-build-system) (synopsis "Basic utilities for writing tests") (description @@ -6095,7 +6376,7 @@ generally slower on larger files.") (home-page "http://search.cpan.org/dist/Text-Glob") (synopsis "Match globbing patterns against text") (description "Text::Glob implements glob(3) style matching that can be -used to match against text, rather than fetching names from a filesystem. If +used to match against text, rather than fetching names from a file system. If you want to do full file globbing use the File::Glob module instead.") (license (package-license perl)))) @@ -6497,6 +6778,30 @@ described in Unicode Standard Annex #14. The @code{East_Asian_Width} property defined by Annex #11 is used to determine breaking positions.") (license (package-license perl)))) +(define-public perl-unicode-utf8 + (package + (name "perl-unicode-utf8") + (version "0.60") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/C/CH/CHANSEN/" + "Unicode-UTF8-" version ".tar.gz")) + (sha256 + (base32 + "1g3fp47slsk7wbz3189kpg342lfs7lpsy570jxnx7s9v59dg5k7n")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-fatal" ,perl-test-fatal) + ("perl-test-leaktrace" ,perl-test-leaktrace) + ("perl-variable-magic" ,perl-variable-magic) + ("perl-test-pod" ,perl-test-pod))) + (home-page "http://search.cpan.org/dist/Unicode-UTF8") + (synopsis "Encoding and decoding of UTF-8 encoding form") + (description + "This module provides functions to encode and decode UTF-8 encoding form +as specified by Unicode and ISO/IEC 10646:2011.") + (license (package-license perl)))) + (define-public perl-universal-can (package (name "perl-universal-can") @@ -6821,3 +7126,115 @@ such that being individual extensions would be wasteful.") (license (package-license perl)))) ;;; END: Core module overrides + +(define-public perl-file-find-object + (package + (name "perl-file-find-object") + (version "v0.2.13") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/S/SH/SHLOMIF/File-Find-Object-" + version + ".tar.gz")) + (sha256 + (base32 + "0gf13b76b824s73r5rp00v8xrd6dnb5yi5jjavfc394scqv6ldh4")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build))) + (inputs + `(("perl-class-xsaccessor" ,perl-class-xsaccessor))) + (home-page + "http://search.cpan.org/dist/File-Find-Object") + (synopsis + "Object-oriented File::Find replacement in Perl") + (description "File::Find::Object is an object-oriented +File::Find replacement in Perl.") + (license artistic2.0))) + +(define-public perl-file-find-object-rule + (package + (name "perl-file-find-object-rule") + (version "0.0305") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/S/SH/SHLOMIF/File-Find-Object-Rule-" + version + ".tar.gz")) + (sha256 + (base32 + "0hs4n3w99q4ylkhg3qhzcwkxqn7zblfj1zjdgl06ca30afkk4cv6")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build))) + (inputs + `(("perl-class-xsaccessor" ,perl-class-xsaccessor) + ("perl-file-find-object" ,perl-file-find-object) + ("perl-number-compare" ,perl-number-compare) + ("perl-text-glob" ,perl-text-glob))) + (home-page + "http://search.cpan.org/dist/File-Find-Object-Rule") + (synopsis + "Alternative interface to File::Find::Object") + (description "File::Find::Object::Rule is an alternative Perl +interface to File::Find::Object.") + (license (package-license perl)))) + +(define-public perl-test-trailingspace + (package + (name "perl-test-trailingspace") + (version "0.0300") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-" + version + ".tar.gz")) + (sha256 + (base32 + "01slmrcjfq38mpdg3hlb7lnnbgsqbn26958y3hzx0zwrif40pigr")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-file-find-object" ,perl-file-find-object) + ("perl-class-xsaccessor" ,perl-class-xsaccessor))) + (inputs + `(("perl-file-find-object-rule" ,perl-file-find-object-rule) + ("perl-text-glob" ,perl-text-glob) + ("perl-number-compare" ,perl-number-compare))) + (home-page + "http://search.cpan.org/dist/Test-TrailingSpace") + (synopsis + "Test for trailing space in Perl source files") + (description "Test::TrailingSpace tests for trailing spaces +in Perl source files.") + (license x11))) + +(define-public perl-encode-detect + (package + (name "perl-encode-detect") + (version "1.01") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/J/JG/JGMYERS/Encode-Detect-" + version + ".tar.gz")) + (sha256 + (base32 + "1wdv9ffgs4xyfh5dnh09dqkmmlbf5m1hxgdgb3qy6v6vlwx8jkc3")))) + (build-system perl-build-system) + (inputs + `(("perl-module-build" ,perl-module-build))) + (home-page + "http://search.cpan.org/dist/Encode-Detect") + (synopsis + "Perl Encode::Encoding subclass that detects the encoding of data") + (description "Encode::Detect detects the encoding of data for Perl.") + (license mpl1.1)))