2013-01-05 18:47:50 -05:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2014-04-11 15:49:38 -04:00
|
|
|
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
|
2013-12-09 09:45:25 -05:00
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
;;; This file is part of GNU Guix.
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
2013-01-05 18:47:50 -05:00
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
2013-01-17 19:06:24 -05:00
|
|
|
(define-module (gnu packages perl)
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 10:14:04 -05:00
|
|
|
#:use-module (guix licenses)
|
2013-01-17 19:06:47 -05:00
|
|
|
#:use-module (gnu packages)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
#:use-module (guix packages)
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 18:22:44 -05:00
|
|
|
#:use-module (guix download)
|
2013-12-09 09:45:25 -05:00
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
#:use-module (guix build-system perl))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
|
|
|
(define-public perl
|
|
|
|
;; Yeah, Perl... It is required early in the bootstrap process by Linux.
|
|
|
|
(package
|
|
|
|
(name "perl")
|
|
|
|
(version "5.16.1")
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 18:22:44 -05:00
|
|
|
(method url-fetch)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
(uri (string-append "http://www.cpan.org/src/5.0/perl-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2013-10-10 17:05:28 -04:00
|
|
|
"15qxzba3a50c9nik5ydgyfp62x7h9vxxn12yd1jgl93hb1wj96km"))
|
|
|
|
(patches (list (search-patch "perl-no-sys-dirs.patch")))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2013-01-23 16:47:39 -05:00
|
|
|
'(#:tests? #f
|
|
|
|
#:phases
|
|
|
|
(alist-replace
|
|
|
|
'configure
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
(libc (assoc-ref inputs "libc")))
|
|
|
|
;; Use the right path for `pwd'.
|
|
|
|
(substitute* "dist/Cwd/Cwd.pm"
|
|
|
|
(("/bin/pwd")
|
|
|
|
(which "pwd")))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
2013-01-23 16:47:39 -05:00
|
|
|
(zero?
|
|
|
|
(system* "./Configure"
|
|
|
|
(string-append "-Dprefix=" out)
|
|
|
|
(string-append "-Dman1dir=" out "/share/man/man1")
|
|
|
|
(string-append "-Dman3dir=" out "/share/man/man3")
|
|
|
|
"-de" "-Dcc=gcc"
|
|
|
|
"-Uinstallusrbinperl"
|
|
|
|
"-Dinstallstyle=lib/perl5"
|
|
|
|
"-Duseshrplib"
|
|
|
|
(string-append "-Dlocincpth=" libc "/include")
|
|
|
|
(string-append "-Dloclibpth=" libc "/lib")))))
|
|
|
|
%standard-phases)))
|
2013-03-30 17:56:38 -04:00
|
|
|
(native-search-paths (list (search-path-specification
|
|
|
|
(variable "PERL5LIB")
|
|
|
|
(directories '("lib/perl5/site_perl")))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
(synopsis "Implementation of the Perl programming language")
|
|
|
|
(description
|
|
|
|
"Perl 5 is a highly capable, feature-rich programming language with over
|
|
|
|
24 years of development.")
|
|
|
|
(home-page "http://www.perl.org/")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 10:14:04 -05:00
|
|
|
(license gpl1+))) ; or "Artistic"
|
2013-12-09 09:45:25 -05:00
|
|
|
|
|
|
|
(define-public perl-file-list
|
|
|
|
(package
|
|
|
|
(name "perl-file-list")
|
|
|
|
(version "0.3.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://cpan/authors/id/D/DO/DOPACKI/File-List-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"00m5ax4aq59hdvav6yc4g63vhx3a57006rglyypagvrzfxjvm8s8"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(alist-cons-after
|
|
|
|
'unpack 'cd
|
|
|
|
(lambda* _
|
|
|
|
(chdir "List"))
|
|
|
|
%standard-phases)))
|
|
|
|
(license (package-license perl))
|
|
|
|
(synopsis "Perl extension for crawling directory trees and compiling
|
|
|
|
lists of files")
|
|
|
|
(description
|
|
|
|
"The File::List module crawls the directory tree starting at the
|
|
|
|
provided base directory and can return files (and/or directories if desired)
|
|
|
|
matching a regular expression.")
|
|
|
|
(home-page "http://search.cpan.org/~dopacki/File-List/")))
|
2014-04-11 15:49:38 -04:00
|
|
|
|
|
|
|
(define-public perl-io-tty
|
|
|
|
(package
|
|
|
|
(name "perl-io-tty")
|
2014-05-22 16:13:42 -04:00
|
|
|
(version "1.11")
|
2014-04-11 15:49:38 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/T/TO/TODDR/IO-Tty-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2014-05-22 16:13:42 -04:00
|
|
|
"0lgd9xcbi4gf4gw1ka6fj94my3w1f3k1zamb4pfln0qxz45zlxx4"))))
|
2014-04-11 15:49:38 -04:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(home-page "http://search.cpan.org/~toddr/IO-Tty/")
|
|
|
|
(synopsis "Perl interface to pseudo ttys")
|
|
|
|
(description
|
|
|
|
"This package provides the 'IO::Pty' and 'IO::Tty' Perl interfaces to
|
|
|
|
pseudo ttys.")
|
|
|
|
(license (package-license perl))))
|
2014-08-28 12:20:13 -04:00
|
|
|
|
|
|
|
(define-public perl-archive-zip
|
|
|
|
(package
|
|
|
|
(name "perl-archive-zip")
|
|
|
|
(version "1.30")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://cpan/authors/id/A/AD/ADAMK/Archive-Zip-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0633zah5z9njiqnvy3vh42fjymncmil1jdfb7d18w8xpfzzp5d7q"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(synopsis "Perl API to zip files")
|
|
|
|
(description "The Archive::Zip module allows a Perl program to create,
|
|
|
|
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))))
|
2014-11-17 17:58:58 -05:00
|
|
|
|
|
|
|
(define-public perl-digest-sha1
|
|
|
|
(package
|
|
|
|
(name "perl-digest-sha1")
|
|
|
|
(version "2.13")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
|
|
|
|
"Digest-SHA1-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1k23p5pjk42vvzg8xcn4iwdii47i0qm4awdzgbmz08bl331dmhb8"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(synopsis "Perl implementation of the SHA-1 message digest algorithm")
|
|
|
|
(description
|
|
|
|
"This package provides 'Digest::SHA1', an implementation of the NIST
|
|
|
|
SHA-1 message digest algorithm for use by Perl programs.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~gaas/Digest-SHA1-"
|
|
|
|
version "/SHA1.pm"))
|
|
|
|
(license (package-license perl))))
|
2014-12-01 01:17:06 -05:00
|
|
|
|
|
|
|
(define-public perl-benchmark-timer
|
|
|
|
(package
|
|
|
|
(name "perl-benchmark-timer")
|
|
|
|
(version "0.7102")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DC/DCOPPIT/"
|
|
|
|
"Benchmark-Timer-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1gl9ybm9hgia3ld5s11b7bv2p2hmx5rss5hxcfy6rmbzrjcnci01"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
;; The optional input module Statistics::PointEstimation (from
|
|
|
|
;; Statistics-TTest) lists no license.
|
|
|
|
(synopsis "Benchmarking with statistical confidence")
|
|
|
|
(description
|
|
|
|
"The Benchmark::Timer class allows you to time portions of code
|
|
|
|
conveniently, as well as benchmark code by allowing timings of repeated
|
|
|
|
trials. It is perfect for when you need more precise information about the
|
|
|
|
running time of portions of your code than the Benchmark module will give you,
|
|
|
|
but don't want to go all out and profile your code.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~dcoppit/"
|
|
|
|
"Benchmark-Timer-" version))
|
|
|
|
(license gpl2)))
|
2014-12-01 01:17:41 -05:00
|
|
|
|
|
|
|
(define-public perl-exporter-lite
|
|
|
|
(package
|
|
|
|
(name "perl-exporter-lite")
|
|
|
|
(version "0.06")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
|
|
|
|
"Exporter-Lite-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0k4gkvid4fr8yvwj0axdx5111mzfw2iipls3qllxr364fqhmclpj"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(synopsis "Lightweight exporting of functions and variables")
|
|
|
|
(description
|
|
|
|
"Exporter::Lite is an alternative to Exporter, intended to provide a
|
|
|
|
lightweight subset of the most commonly-used functionality. It supports
|
|
|
|
import(), @EXPORT and @EXPORT_OK and not a whole lot else.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~neilb/"
|
|
|
|
"Exporter-Lite-" version))
|
|
|
|
(license (package-license perl))))
|
2014-12-01 01:18:18 -05:00
|
|
|
|
|
|
|
(define-public perl-probe-perl
|
|
|
|
(package
|
|
|
|
(name "perl-probe-perl")
|
|
|
|
(version "0.03")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/K/KW/KWILLIAMS/"
|
|
|
|
"Probe-Perl-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0c9wiaz0mqqknafr4jdr0g2gdzxnn539182z0icqaqvp5qgd5r6r"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(synopsis "Information about the currently running perl")
|
|
|
|
(description
|
|
|
|
"Probe::Perl provides methods for obtaining information about the
|
|
|
|
currently running perl interpreter. It originally began life as code in the
|
|
|
|
Module::Build project, but has been externalized here for general use.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~kwilliams/"
|
|
|
|
"Probe-Perl-" version))
|
|
|
|
(license (package-license perl))))
|
2014-12-01 01:18:47 -05:00
|
|
|
|
|
|
|
(define-public perl-ipc-run3
|
|
|
|
(package
|
|
|
|
(name "perl-ipc-run3")
|
|
|
|
(version "0.048")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
|
|
|
|
"IPC-Run3-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0r9m8q78bg7yycpixd7738jm40yz71p2q7inm766kzsw3g6c709x"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(synopsis "Run a subprocess with input/ouput redirection")
|
|
|
|
(description
|
|
|
|
"The IPC::Run3 module allows you to run a subprocess and redirect stdin,
|
|
|
|
stdout, and/or stderr to files and perl data structures. It aims to satisfy
|
|
|
|
99% of the need for using system, qx, and open3 with a simple, extremely
|
|
|
|
Perlish API and none of the bloat and rarely used features of IPC::Run.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~rjbs/"
|
|
|
|
"IPC-Run3-" version))
|
|
|
|
;; "You may use this module under the terms of the BSD, Artistic, or GPL
|
|
|
|
;; licenses, any version."
|
|
|
|
(license (list bsd-3 gpl3+))))
|
2014-12-01 01:19:19 -05:00
|
|
|
|
2014-12-16 06:19:15 -05:00
|
|
|
(define-public perl-test-deep
|
|
|
|
(package
|
|
|
|
(name "perl-test-deep")
|
|
|
|
(version "0.114")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
|
|
|
|
"Test-Deep-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"09yr47vw7vj27sdik312x08938higcij8ybyq8k67mlccx8cpqf0"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(inputs `(("perl-test-tester" ,perl-test-tester)
|
|
|
|
("perl-test-nowarnings" ,perl-test-nowarnings)))
|
|
|
|
(synopsis "Flexible deep comparison for the Test::Builder framework")
|
|
|
|
(description
|
|
|
|
"Test::Deep compares two structures by going through each level, ensuring
|
|
|
|
that the values match, that arrays and hashes have the same elements and that
|
|
|
|
references are blessed into the correct class. It also handles circular data
|
|
|
|
structures without getting caught in an infinite loop.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~rjbs/"
|
|
|
|
"Test-Deep-" version))
|
|
|
|
(license gpl1+))) ; or "Artistic License"
|
|
|
|
|
2014-12-16 06:15:23 -05:00
|
|
|
(define-public perl-test-nowarnings
|
|
|
|
(package
|
|
|
|
(name "perl-test-nowarnings")
|
|
|
|
(version "1.04")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
|
|
|
|
"Test-NoWarnings-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0v385ch0hzz9naqwdw2az3zdqi15gka76pmiwlgsy6diiijmg2k3"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(inputs `(("perl-test-tester" ,perl-test-tester)))
|
|
|
|
(synopsis "Ensure no warnings are produced while testing")
|
|
|
|
(description
|
|
|
|
"This modules causes any warnings during testing to be captured and
|
|
|
|
stored. It automatically adds an extra test that will run when your script
|
|
|
|
ends to check that there were no warnings. If there were any warings, the
|
|
|
|
test will fail and output diagnostics of where, when and what the warning was,
|
|
|
|
including a stack trace of what was going on when it occurred.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~adamk/"
|
|
|
|
"Test-NoWarnings-" version))
|
|
|
|
(license lgpl2.1)))
|
|
|
|
|
2014-12-01 01:19:19 -05:00
|
|
|
(define-public perl-test-script
|
|
|
|
(package
|
|
|
|
(name "perl-test-script")
|
|
|
|
(version "1.07")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
|
|
|
|
"Test-Script-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"15pb4zzsnm33msc1syhig2bk05xqc0pckmfyahdwbd177bj5w7p2"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("probe-perl" ,perl-probe-perl)
|
|
|
|
("ipc-run3" ,perl-ipc-run3)))
|
|
|
|
(synopsis "Basic cross-platform tests for scripts")
|
|
|
|
(description
|
|
|
|
"The intent of the Test::Script module is to provide a series of basic
|
|
|
|
tests for 80% of the testing you will need to do for scripts in the script (or
|
|
|
|
bin as is also commonly used) paths of your Perl distribution.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~adamk/"
|
|
|
|
"Test-Script-" version))
|
|
|
|
(license (package-license perl))))
|
2014-12-01 01:19:55 -05:00
|
|
|
|
2014-12-16 10:16:09 -05:00
|
|
|
(define-public perl-test-simple
|
|
|
|
(package
|
|
|
|
(name "perl-test-simple")
|
|
|
|
(version "1.001009")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
|
|
|
|
"Test-Simple-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1klxpy658aj1pmrw63j1hc16gilwh5rzhp9rb2d1iydi3hcm8xb5"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(synopsis "Basic utilities for writing tests")
|
|
|
|
(description
|
|
|
|
"Test::Simple contains basic utilities for writing tests.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~exodist/"
|
|
|
|
"Test-Simple-" version))
|
|
|
|
(license (package-license perl))))
|
|
|
|
|
2014-12-16 06:12:10 -05:00
|
|
|
(define-public perl-test-tester
|
|
|
|
(package
|
|
|
|
(name "perl-test-tester")
|
|
|
|
(version "0.109")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/F/FD/FDALY/"
|
|
|
|
"Test-Tester-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0m9n28z09kq455r5nydj1bnr85lvmbfpcbjdkjfbpmfb5xgciiyk"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(synopsis "Simplify running Test::Builder tests")
|
|
|
|
(description
|
|
|
|
"Test::Tester allows testing of test modules based on Test::Builder with
|
|
|
|
a minimum of effort.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~fdaly/"
|
|
|
|
"Test-Tester-" version))
|
|
|
|
;; "Under the same license as Perl itself"
|
|
|
|
(license (package-license perl))))
|
|
|
|
|
2014-12-01 01:19:55 -05:00
|
|
|
(define-public perl-file-which
|
|
|
|
(package
|
|
|
|
(name "perl-file-which")
|
|
|
|
(version "1.09")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
|
|
|
|
"File-Which-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1hxjyh9yrv32f3g8vrnr8iylzprajsac14vjm75kf1qnj1jyqbxp"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(native-inputs `(("test-script" ,perl-test-script)))
|
|
|
|
(synopsis "Portable implementation of the `which' utility")
|
|
|
|
(description
|
|
|
|
"File::Which was created to be able to get the paths to executable
|
|
|
|
programs on systems under which the `which' program wasn't implemented in the
|
|
|
|
shell.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~adamk/"
|
|
|
|
"File-Which-" version))
|
|
|
|
(license (package-license perl))))
|
2014-12-01 01:20:24 -05:00
|
|
|
|
|
|
|
(define-public perl-getopt-tabular
|
|
|
|
(package
|
|
|
|
(name "perl-getopt-tabular")
|
|
|
|
(version "0.3")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/G/GW/GWARD/"
|
|
|
|
"Getopt-Tabular-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0xskl9lcj07sdfx5dkma5wvhhgf5xlsq0khgh8kk34dm6dv0dpwv"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(synopsis "Table-driven argument parsing for Perl")
|
|
|
|
(description
|
|
|
|
"Getopt::Tabular is a Perl 5 module for table-driven argument parsing,
|
|
|
|
vaguely inspired by John Ousterhout's Tk_ParseArgv.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~gward/"
|
|
|
|
"Getopt-Tabular-" version))
|
|
|
|
(license (package-license perl))))
|
2014-12-01 01:20:55 -05:00
|
|
|
|
|
|
|
(define-public perl-regexp-common
|
|
|
|
(package
|
|
|
|
(name "perl-regexp-common")
|
|
|
|
(version "2013031301")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AB/ABIGAIL/"
|
|
|
|
"Regexp-Common-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"112wybsm0vr8yfannx6sdfvgp5vza28gjgr3pgn69ak4sac836kj"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(synopsis "Provide commonly requested regular expressions")
|
|
|
|
(description
|
|
|
|
"This module exports a single hash (`%RE') that stores or generates
|
|
|
|
commonly needed regular expressions. Patterns currently provided include:
|
|
|
|
balanced parentheses and brackets, delimited text (with escapes), integers and
|
|
|
|
floating-point numbers in any base (up to 36), comments in 44 languages,
|
|
|
|
offensive language, lists of any pattern, IPv4 addresses, URIs, and Zip
|
|
|
|
codes.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~abigail/"
|
|
|
|
"Regexp-Common-" version))
|
|
|
|
;; Quad-licensed: Perl Artistic, Perl Artistic 2.0, X11, and BSD.
|
|
|
|
(license (list (package-license perl) x11 bsd-3))))
|
2014-12-01 01:21:21 -05:00
|
|
|
|
|
|
|
(define-public perl-sys-cpu
|
|
|
|
(package
|
|
|
|
(name "perl-sys-cpu")
|
|
|
|
(version "0.61")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MZ/MZSANFORD/"
|
|
|
|
"Sys-CPU-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1r6976bs86j7zp51m5vh42xlyah951jgdlkimv202413kjvqc2i5"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(synopsis "Perl extension for getting CPU information")
|
|
|
|
(description
|
|
|
|
"In responce to a post on perlmonks.org, a module for counting the number
|
|
|
|
of CPU's on a system. Support has now also been added for type of CPU and
|
|
|
|
clock speed.")
|
|
|
|
(home-page (string-append "http://search.cpan.org/~mzsanford/"
|
|
|
|
"Sys-CPU-" version))
|
|
|
|
(license (package-license perl))))
|