From fa3ba0143fee0b8ccbd0371cc37c1435d4f2a68f Mon Sep 17 00:00:00 2001 From: Thiago Jung Bauermann Date: Sun, 9 Oct 2022 02:08:23 -0300 Subject: gnu: Add perl-file-fcntllock. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/perl.scm (perl-file-fcntllock): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/perl.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 64868607dc..5f3666fe3b 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -11641,6 +11641,28 @@ (define-public perl-file-finder used as the head of many different sequences.") (license license:perl-license))) +(define-public perl-file-fcntllock + (package + (name "perl-file-fcntllock") + (version "0.22") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/J/JT/JTT/File-FcntlLock-" version + ".tar.gz")) + (sha256 + (base32 + "1pxwknq4lw0wqpkh8pf18qsjf9g503vx6a5184vvffprzwpbp6ls")))) + (build-system perl-build-system) + (home-page "https://metacpan.org/release/File-FcntlLock") + (synopsis "File locking with fcntl(2)") + (description "File locking in Perl is usually done using the @code{flock} +function. Unfortunately, this only allows locks on whole files and is often +implemented in terms of the @code{flock(2)} system function which has some +shortcomings (especially concerning locks on remotely mounted file systems) +and slightly different behaviour than @code{fcntl(2)}.") + (license license:perl-license))) + (define-public perl-font-ttf (package (name "perl-font-ttf") -- cgit v1.2.3 From 324e056ba0c4096a957cd49fa094c90519c6e144 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 16 Oct 2022 17:34:39 +0200 Subject: gnu: Add perl-5.6. * gnu/packages/perl.scm (perl-5.6): New variable. --- gnu/packages/perl.scm | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index b5944eb0dc..022ca73429 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, 2017 Ludovic Courtès ;;; Copyright © 2013, 2019, 2020, 2021 Andreas Enge -;;; Copyright © 2015, 2016, 2017, 2019, 2021 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017, 2019, 2021, 2022 Ricardo Wurmus ;;; Copyright © 2015, 2016, 2017, 2019, 2020 Eric Bavier ;;; Copyright © 2015 Eric Dvorsak ;;; Copyright © 2016, 2018 Mark H Weaver @@ -331,6 +331,74 @@ (define-public perl-5.14 more.") (license license:gpl1+))) +(define-public perl-5.6 + (package + (inherit perl-5.14) + (name "perl") + (version "5.6.2") + (source (origin + (method url-fetch) + (uri (string-append "https://www.cpan.org/src/5.0/perl-" + version ".tar.gz")) + (sha256 + (base32 + "0khk94gvc8qkwxdb98khmxbwxxdbhap7rxb9ymkha6vhpxp6zrm5")))) + (properties `((release-date . "2003-11-15") + (hidden? . #t))) ;only for GHC 4. + (build-system gnu-build-system) + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (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* "lib/Cwd.pm" + (("/bin/pwd") + (which "pwd"))) + + (invoke "./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") + + ;; Force the library search path to contain only libc + ;; because it is recorded in Config.pm and + ;; Config_heavy.pl; we don't want to keep a reference + ;; to everything that's in $LIBRARY_PATH at build + ;; time (Binutils, bzip2, file, etc.) + (string-append "-Dlibpth=" libc "/lib") + (string-append "-Dplibpth=" libc "/lib"))))) + (add-after 'configure 'bleh + (lambda _ + (substitute* '("makefile" + "x2p/makefile") + ((".*\\.*") "")) + ;; Don't look for /usr/include/errno.h. + (substitute* "ext/Errno/Errno_pm.PL" + (("O eq 'linux'") "O eq 'loonix'")) + (substitute* "ext/IPC/SysV/SysV.xs" + ((".*asm/page.h.*") "")))) + (add-before 'strip 'make-shared-objects-writable + (lambda* (#:key outputs #:allow-other-keys) + ;; The 'lib/perl5' directory contains ~50 MiB of .so. Make them + ;; writable so that 'strip' actually strips them. + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib"))) + (for-each (lambda (dso) + (chmod dso #o755)) + (find-files lib "\\.so$")))))))) + (native-inputs + (list gcc-5)))) + (define-public perl-algorithm-c3 (package (name "perl-algorithm-c3") -- cgit v1.2.3 From 5595aa9a75f05440ae3c77b9bae282f89b7c47b8 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 17 Oct 2022 18:26:01 -0300 Subject: gnu: Add perl-regexp-grammars. * gnu/packages/perl.scm (perl-regexp-grammars): New variable. Signed-off-by: Christopher Baines --- gnu/packages/perl.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 022ca73429..e111fcd943 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8843,6 +8843,30 @@ (define-public perl-regexp-common ;; Quad-licensed: Perl Artistic, Perl Artistic 2.0, X11, and BSD. (license (list (package-license perl) license:x11 license:bsd-3)))) +(define-public perl-regexp-grammars + (package + (name "perl-regexp-grammars") + (version "1.058") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/D/DC/DCONWAY/Regexp-Grammars-" + version ".tar.gz")) + (sha256 + (base32 + "14hwskrmy6ma0k9nr1amrf7wpb1f6jsx7x29kgizlx0n4n7db27a")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build perl-test-pod perl-moose)) + (home-page "https://metacpan.org/release/Regexp-Grammars") + (synopsis "Complete recursive descent parser on Perl's regex engine") + (description + "The @code{Regexp::Grammars} module adds a small number of new +regex constructs that can be used within Perl 5.10 patterns to implement +complete recursive-descent parsing. It allows you to go beyond matching +complex, nested and recursive structures, and allows you to parse and extract +hierarchical data from it.") + (license license:perl-license))) + (define-public perl-regexp-util (package (name "perl-regexp-util") -- cgit v1.2.3 From 5f30ce031493d9ae9d4488ffc7e64c004cb8be6b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 17 Oct 2022 22:38:11 -0300 Subject: gnu: Add perl-config-tiny. * gnu/packages/perl.scm (perl-config-tiny): New variable. Signed-off-by: Christopher Baines --- gnu/packages/perl.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index e111fcd943..4624b5ab6d 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2076,6 +2076,33 @@ (define-public perl-config-ini and writing of @code{.ini}-style configuration files.") (license (package-license perl)))) +(define-public perl-config-tiny + (package + (name "perl-config-tiny") + (version "2.28") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/R/RS/RSAVAGE/Config-Tiny-" + version ".tgz")) + (sha256 + (base32 + "000mw17nb7aj341s0afqimxd53w5y0c4yk61pihqzm191lx89pqj")))) + (build-system perl-build-system) + (native-inputs (list perl-test-pod)) + (home-page "https://metacpan.org/release/Config-Tiny") + (synopsis "Read/Write .ini style files with as little code as possible") + (description + "@code{Config::Tiny} is a Perl class to read and write .ini +style configuration files with as little code as possible, reducing load time +and memory overhead. + +This module is primarily for reading human written files, and anything we write +shouldn't need to have documentation/comments. If you need something with more +power move up to @code{Config::Simple}, @code{Config::General} or one of the +many other @code{Config::*} modules.") + (license license:perl-license))) + (define-public perl-const-fast (package (name "perl-const-fast") -- cgit v1.2.3 From 885944bc1075318eb86185de5782212dbbe36baf Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 17 Oct 2022 22:38:12 -0300 Subject: gnu: Add perl-pod-spell. * gnu/packages/perl.scm (perl-pod-spell): New variable. Signed-off-by: Christopher Baines --- gnu/packages/perl.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 4624b5ab6d..c98d3429ed 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -71,6 +71,7 @@ (define-module (gnu packages perl) #:use-module (gnu packages gtk) #:use-module (gnu packages hurd) #:use-module (gnu packages image) + #:use-module (gnu packages language) #:use-module (gnu packages less) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl-check) @@ -8709,6 +8710,34 @@ (define-public perl-pod-simple used for writing documentation for Perl and for Perl modules.") (license (package-license perl)))) +(define-public perl-pod-spell + (package + (name "perl-pod-spell") + (version "1.25") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/H/HA/HAARG/Pod-Spell-" version + ".tar.gz")) + (sha256 + (base32 + "18wzpfn39hpw6n8g9pwh964nid8skks79i5jdcm33gf9kf5qx3r0")))) + (build-system perl-build-system) + (native-inputs (list perl-file-sharedir-install)) + (propagated-inputs (list perl-class-tiny perl-file-sharedir + perl-lingua-en-inflect)) + (home-page "https://metacpan.org/release/Pod-Spell") + (synopsis "Formatter for spellchecking Pod") + (description + "@code{Pod::Spell} is a Pod formatter whose output is good +for spellchecking. + +@code{Pod::Spell} is rather like @code{Pod::Text}, except that it doesn't put +much effort into actual formatting, and it suppresses things that look like Perl +symbols or Perl jargon (so that your spellchecking program won't complain about +mystery words like \"@code{$thing}\" or \"@code{Foo::Bar}\" or \"@code{hashref}\").") + (license license:artistic2.0))) + (define-public perl-posix-strftime-compiler (package (name "perl-posix-strftime-compiler") -- cgit v1.2.3 From b91a5667c61bd9c55e70dd86418ccf0a5040736a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 17 Oct 2022 22:38:13 -0300 Subject: gnu: Add perl-readonly-xs. * gnu/packages/perl.scm (perl-readonly-xs): New variable. Signed-off-by: Christopher Baines --- gnu/packages/perl.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index c98d3429ed..15138d453f 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8854,6 +8854,38 @@ (define-public perl-readonly variables that should not be changed.") (license (package-license perl)))) +(define-public perl-readonly-xs + (package + (name "perl-readonly-xs") + (version "1.05") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/R/RO/ROODE/Readonly-XS-" version + ".tar.gz")) + (sha256 + (base32 + "03gz7yp194fwah2bc36ww04hgw1qx8p6y68vvnywircrablc9rca")))) + (build-system perl-build-system) + (propagated-inputs (list perl-readonly)) + (home-page "https://metacpan.org/release/Readonly-XS") + (synopsis "Companion module for @code{Readonly.pm}, to speed up read-only +scalar variables") + (description + "The @code{Readonly} module is an effective way to create non-modifiable +variables. However, it's relatively slow. + +The reason it's slow is that is implements the read-only-ness of variables via +tied objects. This mechanism is inherently slow. Perl simply has to do a lot +of work under the hood to make tied variables work. + +This module corrects the speed problem, at least with respect to scalar +variables. When @code{Readonly::XS} is installed, @code{Readonly} uses it to +access the internals of scalar variables. Instead of creating a scalar variable +object and tying it, @code{Readonly} simply flips the @code{SvREADONLY} bit in +the scalar's @code{FLAGS} structure.") + (license license:perl-license))) + (define-public perl-ref-util-xs (package (name "perl-ref-util-xs") -- cgit v1.2.3 From 2a531bfb3445d723bfb915576e266f2094936aef Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 17 Oct 2022 22:38:14 -0300 Subject: gnu: Add perl-string-format. * gnu/packages/perl.scm (perl-string-format): New variable. Signed-off-by: Christopher Baines --- gnu/packages/perl.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 15138d453f..31b2abde48 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -9488,6 +9488,30 @@ (define-public perl-string-escape removing double-quotes, and truncating to fit within a desired length.") (license (package-license perl)))) +(define-public perl-string-format + (package + (name "perl-string-format") + (version "1.18") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/S/SR/SREZIC/String-Format-" + version ".tar.gz")) + (sha256 + (base32 + "0y77frxzjifd4sw0j19cc346ysas1mya84rdxaz279lyin7plhcy")))) + (build-system perl-build-system) + (home-page "https://metacpan.org/release/String-Format") + (synopsis "Format sprintf-like strings with arbitrary format definitions") + (description + "@code{String::Format} lets you define arbitrary printf-like format +sequences to be expanded. This module would be most useful in configuration +files and reporting tools, where the results of a query need to be formatted in +a particular way. It was inspired by +@url{http://www.mutt.org/doc/manual/manual.html#index-format,mutt's +@code{index_format} and related directives}.") + (license license:gpl2))) + (define-public perl-string-formatter (package (name "perl-string-formatter") -- cgit v1.2.3 From 4acc8a901918ac9378b66b762fbc82e5e76d9438 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 17 Oct 2022 22:38:15 -0300 Subject: gnu: Add perl-ppix-regexp. * gnu/packages/perl.scm (perl-ppix-regexp): New variable. Signed-off-by: Christopher Baines --- gnu/packages/perl.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 31b2abde48..e3e78785a2 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8786,6 +8786,30 @@ (define-public perl-ppi code.") (license license:perl-license))) +(define-public perl-ppix-regexp + (package + (name "perl-ppix-regexp") + (version "0.085") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/W/WY/WYANT/PPIx-Regexp-" version + ".tar.gz")) + (sha256 + (base32 + "07fg63ql3f7hv1ys10l8j0p562ndraq9lk66iw9y0f444j4vpw1f")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build)) + (propagated-inputs (list perl-ppi)) + (home-page "https://metacpan.org/release/PPIx-Regexp") + (synopsis "Parse Perl string literals and string-literal-like things") + (description + "The purpose of the @code{PPIx-Regexp} package is to parse +regular expressions in a manner similar to the way the @code{PPI} package parses +Perl. This class forms the root of the parse tree, playing a role similar to +@code{PPI::Document}.") + (license license:perl-license))) + (define-public perl-probe-perl (package (name "perl-probe-perl") -- cgit v1.2.3 From d45c5a47ba00d21bc116917ccedbaca3005456f9 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 17 Oct 2022 22:38:16 -0300 Subject: gnu: Add perl-ppix-quotelike. * gnu/packages/perl.scm (perl-ppix-quotelike): New variable. Signed-off-by: Christopher Baines --- gnu/packages/perl.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index e3e78785a2..e69803254c 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8810,6 +8810,29 @@ (define-public perl-ppix-regexp @code{PPI::Document}.") (license license:perl-license))) +(define-public perl-ppix-quotelike + (package + (name "perl-ppix-quotelike") + (version "0.023") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/W/WY/WYANT/PPIx-QuoteLike-" + version ".tar.gz")) + (sha256 + (base32 + "08ad4d20afvi1c4xzwbfk94lmf6gwlmqkdrpjxzf0lrcklaa6xim")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build)) + (propagated-inputs (list perl-ppi perl-ppix-regexp perl-readonly)) + (home-page "https://metacpan.org/release/PPIx-QuoteLike") + (synopsis "Parse Perl string literals and string-literal-like things") + (description + "@code{PPIX::QuoteLike} parses Perl string literals and things that +are reasonably like string literals. Its real reason for being is to find +interpolated variables for @code{Perl::Critic} policies and similar code.") + (license license:perl-license))) + (define-public perl-probe-perl (package (name "perl-probe-perl") -- cgit v1.2.3 From dfbeb5d1ce6e8faefe1b5d48ae1ced71c39e91e8 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 17 Oct 2022 22:38:17 -0300 Subject: gnu: Add perl-ppix-utilities. * gnu/packages/perl.scm (perl-ppix-utilities): New variable. Signed-off-by: Christopher Baines --- gnu/packages/perl.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index e69803254c..c07f9276fb 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8833,6 +8833,33 @@ (define-public perl-ppix-quotelike interpolated variables for @code{Perl::Critic} policies and similar code.") (license license:perl-license))) +(define-public perl-ppix-utilities + (package + (name "perl-ppix-utilities") + (version "1.001000") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/E/EL/ELLIOTJS/PPIx-Utilities-" + version ".tar.gz")) + (sha256 + (base32 + "16yb7dnz8lgq2azs8jxj1wac60kbn16x8y4py04ci8nndww87903")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build perl-test-deep)) + (propagated-inputs (list perl-exception-class perl-ppi perl-readonly-xs + perl-task-weaken)) + (home-page "https://metacpan.org/release/PPIx-Utilities") + (synopsis "Extensions to PPI") + (description + "@code{PPIx::Utilities} is a collection of functions for dealing +with @code{PPI} objects, many of which originated in @code{Perl::Critic}. They +are organized into modules by the kind of @code{PPI} class they relate to, by +replacing the \"@code{PPI}\" at the front of the module name with +\"@code{PPIx::Utilities}\", e.g. functionality related to @code{PPI::Nodes} is +in @code{PPIx::Utilities::Node}.") + (license license:perl-license))) + (define-public perl-probe-perl (package (name "perl-probe-perl") -- cgit v1.2.3 From b857d239e7975b6b474674a06e663abec610d59e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 17 Oct 2022 22:38:18 -0300 Subject: gnu: Add perl-critic. * gnu/packages/perl.scm (perl-critic): New variable. Signed-off-by: Christopher Baines --- gnu/packages/perl.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index c07f9276fb..b6c33b2a36 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2262,6 +2262,51 @@ (define-public perl-cpanel-json-xs versa.") (license (package-license perl)))) +(define-public perl-critic + (package + (name "perl-critic") + (version "1.140") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/P/PE/PETDANCE/Perl-Critic-" + version ".tar.gz")) + (sha256 + (base32 + "1nzxpn71mrpp85yxrxlraj52q2skvf9ja887ls11d57h6smg1vmz")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build perl-test-deep)) + (propagated-inputs (list perltidy + perl-exception-class + perl-io-string + perl-ppi + perl-ppix-regexp + perl-b-keywords + perl-config-tiny + perl-padwalker + perl-test-memory-cycle + perl-file-which + perl-list-moreutils + perl-module-pluggable + perl-pod-parser + perl-pod-spell + perl-ppix-quotelike + perl-ppix-utilities + perl-readonly + perl-string-format + perl-task-weaken)) + (home-page "https://metacpan.org/release/Perl-Critic") + (synopsis "Critique Perl source code for best-practices") + (description + "@code{perlcritic} is a Perl source code analyzer. It is the +executable front-end to the @code{Perl::Critic} engine, which attempts to +identify awkward, hard to read, error-prone, or unconventional constructs in +your code. Most of the rules are based on Damian Conway's book \"Perl Best +Practices\". However, @code{perlcritic} is not limited to enforcing PBP, and it +will even support rules that contradict Conway. All rules can easily be +configured or disabled to your liking.") + (license license:perl-license))) + (define-public perl-crypt-cbc (package (name "perl-crypt-cbc") -- cgit v1.2.3 From 372ba7b3dba63dc1689c6eb0144a97f9585c613a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 22 Nov 2022 08:24:44 +0100 Subject: gnu: perl-conf-libconfig: Update to 0.101. * gnu/packages/perl.scm (perl-conf-libconfig): Update to 0.101. --- gnu/packages/perl.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index b6c33b2a36..0e21176751 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1899,14 +1899,14 @@ (define-public perl-common-sense (define-public perl-conf-libconfig (package (name "perl-conf-libconfig") - (version "0.100") + (version "0.101") (source (origin (method url-fetch) (uri (string-append "mirror://cpan/authors/id/C/CN/CNANGEL/" "Conf-Libconfig-" version ".tar.gz")) (sha256 - (base32 "0qdypqd7mx96bwdjlv13fn6p96bs4w0yv94yv94xa7z5lqkdj4rg")))) + (base32 "11dd3kb0k45gqahnnwz50x3b4b25c5jgykkwgf74rcyr0dsy0n5a")))) (build-system perl-build-system) (native-inputs (list perl-extutils-pkgconfig perl-test-deep perl-test-exception -- cgit v1.2.3 From 47f28e5536f124f331e39243c771a91fcce0ed9a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 6 Dec 2022 10:43:05 +0200 Subject: gnu: Add perl-getopt-argvfile. * gnu/packages/perl.scm (perl-getopt-argvfile): New variable. --- gnu/packages/perl.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 0e21176751..26d20e4593 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -5206,6 +5206,27 @@ (define-public perl-filesys-notify-simple back to a full directory scan if none of these are available.") (license license:perl-license))) +(define-public perl-getopt-argvfile + (package + (name "perl-getopt-argvfile") + (version "1.11") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-" + version + ".tar.gz")) + (sha256 + (base32 + "08jvhfqcjlsn013x96qa6paif0095x6y60jslp8p3zg67i8sl29p")))) + (build-system perl-build-system) + (home-page "https://metacpan.org/release/Getopt-ArgvFile") + (synopsis "Perl module for reading script options and parameters from files") + (description "This module simply interpolates option file hints in @code{@@ARGV} +by the contents of the pointed files. This enables option reading from files instead +of or additional to the usual reading from the command line.") + (license license:artistic2.0))) + (define-public perl-getopt-long (package (name "perl-getopt-long") -- cgit v1.2.3 From 14ca72226b5319dd138a71df40555d6e90629c81 Mon Sep 17 00:00:00 2001 From: Evgeny Pisemsky Date: Sun, 23 Oct 2022 17:23:11 +0300 Subject: gnu: perl-lingua-translit: Wrap translit program. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/perl.scm (perl-lingua-translit)[arguments]: Add “wrap-translit” phase. [inputs]: Add bash-minimal. Signed-off-by: Liliana Marie Prikler --- gnu/packages/perl.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 26d20e4593..f80d84eaa5 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -32,6 +32,7 @@ ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2021 Maxime Devos +;;; Copyright © 2022 Evgeny Pisemsky ;;; ;;; This file is part of GNU Guix. ;;; @@ -6269,6 +6270,18 @@ (define-public perl-lingua-translit (base32 "1qgap0j0ixmif309dvbqca7sy8xha9xgnj9s2lvh8qrczkc92gqi")))) (build-system perl-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'wrap-translit + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/translit") + `("PERL5LIB" ":" prefix + (,(getenv "PERL5LIB") + ,(string-append out "/lib/perl5/site_perl")))))))))) + (inputs (list bash-minimal)) (home-page "https://metacpan.org/release/Lingua-Translit") (synopsis "Transliterate text between writing systems") (description "@code{Lingua::Translit} can be used to convert text from one -- cgit v1.2.3 From 62ee1c4b47c6e1e62314223d62a5d54162a23fa8 Mon Sep 17 00:00:00 2001 From: gemmaro Date: Sat, 31 Dec 2022 23:04:56 +0900 Subject: gnu: Add perl-text-charwidth. * gnu/packages/perl.scm (perl-text-charwidth): New variable. Signed-off-by: Julien Lepiller --- gnu/packages/perl.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index f80d84eaa5..7f85c2a66a 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2022 Evgeny Pisemsky +;;; Copyright © 2022 gemmaro ;;; ;;; This file is part of GNU Guix. ;;; @@ -10471,6 +10472,27 @@ (define-public perl-text-balanced text sequences from strings.") (license (package-license perl)))) +(define-public perl-text-charwidth + (package + (name "perl-text-charwidth") + (version "0.04") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/K/KU/KUBOTA/Text-CharWidth-" + version ".tar.gz")) + (sha256 + (base32 + "1y040wiqx78pnr0wxbjhpzjxm2a9qiqq479gzn4qwcyrzpsdbpmb")))) + (build-system perl-build-system) + (home-page "https://metacpan.org/dist/Text-CharWidth") + (synopsis "Get number of occupied columns of a string on terminal") + (description + "With this module, you can calculate terminal character +widths that vary by locale. This module supplies features similar to +wcwidth(3) and wcswidth(3) in C language.") + (license (package-license perl)))) + (define-public perl-text-csv (package (name "perl-text-csv") -- cgit v1.2.3 From fae9d65034d95e1b33416936af7aae3d8e790f03 Mon Sep 17 00:00:00 2001 From: gemmaro Date: Sat, 31 Dec 2022 23:04:57 +0900 Subject: gnu: Add perl-xs-parse-keyword perl-xs-parse-keyword v0.06 is required by perl-syntax-keyword-try. Note that the latest version of this package is 0.31. * gnu/packages/perl.scm (perl-xs-parse-keyword): New variable. Signed-off-by: Julien Lepiller --- gnu/packages/perl.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 7f85c2a66a..7684a2007f 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -11581,6 +11581,28 @@ (define-public perl-xs-object-magic neither visible nor modifiable from Perl space).") (license (package-license perl)))) +(define-public perl-xs-parse-keyword + (package + (name "perl-xs-parse-keyword") + (version "0.06") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/P/PE/PEVANS/XS-Parse-Keyword-" + version ".tar.gz")) + (sha256 + (base32 + "0nnr8akkxb2h2y3d5r51pr84vvxkq89ynmi9azkbnn79jmbcbgvq")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build perl-test-simple)) + (home-page "https://metacpan.org/dist/XS-Parse-Keyword") + (synopsis "XS functions to assist in parsing keyword syntax") + (description + "This module provides some XS functions to assist in writing +syntax modules that provide new perl-visible syntax, primarily for authors of +keyword plugins using the @code{PL_keyword_plugin} hook mechanism.") + (license (package-license perl)))) + (define-public perl-yaml (package (name "perl-yaml") -- cgit v1.2.3 From fe2626b4b371773518ace972ce3cde55198a4380 Mon Sep 17 00:00:00 2001 From: gemmaro Date: Sat, 31 Dec 2022 23:04:58 +0900 Subject: gnu: Add perl-text-wrapi18n. * gnu/packages/perl.scm (perl-text-wrapi18n): New variable. Signed-off-by: Julien Lepiller --- gnu/packages/perl.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 7684a2007f..08db4909ec 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -12256,6 +12256,34 @@ (define-public perl-text-soundex the National Archives and Records Administration (NARA).") (license license:perl-license))) +(define-public perl-text-wrapi18n + (package + (name "perl-text-wrapi18n") + (version "0.06") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/K/KU/KUBOTA/Text-WrapI18N-" + version ".tar.gz")) + (sha256 + (base32 + "12548qc99ms12yp5j26076p0zazjfv1b618h5k8r5iy2y0brmljb")))) + (build-system perl-build-system) + (inputs (list perl-text-charwidth)) + (home-page "https://metacpan.org/pod/Text::WrapI18N") + (synopsis "Line wrapping for multibyte, fullwidth, combining +characters and so on") + (description + "This module intends to be a better Text::Wrap module. This +module is needed to support multibyte character encodings such as UTF-8, +EUC-JP, EUC-KR, GB2312, and Big5. This module also supports characters with +irregular widths, such as combining characters (which occupy zero columns on +terminal, like diacritical marks in UTF-8) and fullwidth characters (which +occupy two columns on terminal, like most of east Asian characters). Also, +minimal handling of languages which doesn't use whitespaces between +words (like Chinese and Japanese) is supported.") + (license (package-license perl)))) + (define-public perl-regexp-pattern (package (name "perl-regexp-pattern") -- cgit v1.2.3 From c304d22d69e63956493b67a5624c4c06d3be2385 Mon Sep 17 00:00:00 2001 From: gemmaro Date: Sat, 31 Dec 2022 23:04:59 +0900 Subject: gnu: Add perl-syntax-keyword-try * gnu/packages/perl.scm (perl-syntax-keyword-try): New variable. Signed-off-by: Julien Lepiller --- gnu/packages/perl.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 08db4909ec..7cdc052cee 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -9997,6 +9997,30 @@ (define-public perl-switch statements: @code{switch} and @code{case}.") (license (package-license perl)))) +(define-public perl-syntax-keyword-try + (package + (name "perl-syntax-keyword-try") + (version "0.28") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/P/PE/PEVANS/Syntax-Keyword-Try-" + version ".tar.gz")) + (sha256 + (base32 + "1j02z9w0p9a77maf62cy5324vmc01hks0bfm5qjidc50hafmzbfc")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build)) + (inputs (list perl-xs-parse-keyword)) + (home-page "https://metacpan.org/pod/Syntax::Keyword::Try") + (synopsis "Try/catch/finally syntax for perl") + (description + "This module provides a syntax plugin that implements +exception-handling semantics in a form familiar to users of other +languages, being built on a block labeled with the @code{try} keyword, +followed by at least one of a @code{catch} or @code{finally} block.") + (license (package-license perl)))) + (define-public perl-sys-cpu (package (name "perl-sys-cpu") -- cgit v1.2.3 From 6564a04efaf506a5ef51a7c100144fa31bbe1f31 Mon Sep 17 00:00:00 2001 From: Mădălin Ionel Patrașcu Date: Tue, 17 Jan 2023 14:53:09 +0100 Subject: gnu: Add perl-memory-usage. * gnu/packages/perl.scm (perl-memory-usage): New variable. --- gnu/packages/perl.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 7cdc052cee..14e4934918 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2022 Evgeny Pisemsky ;;; Copyright © 2022 gemmaro +;;; Copyright © 2023 Mădălin Ionel Patrașcu ;;; ;;; This file is part of GNU Guix. ;;; @@ -6608,6 +6609,30 @@ (define-public perl-memoize-expirelru the argument to the CACHESIZE parameter, will be cached.") (license (package-license perl)))) +(define-public perl-memory-usage + (package + (name "perl-memory-usage") + (version "0.201") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/D/DO/DONEILL/Memory-Usage-" + version ".tar.gz")) + (sha256 + (base32 + "0jakrq9yk2njzc5qhbgvp7fi933ir903w3wc3kl4i9s03v9glalg")))) + (build-system perl-build-system) + (native-inputs + (list perl-module-install + perl-test-pod + perl-test-pod-coverage)) + (home-page "https://metacpan.org/release/Memory-Usage") + (synopsis "Tools to determine actual memory usage") + (description + "This module lets you attempt to measure, from your operating system's +perspective, how much memory a process is using at any given time.") + (license license:perl-license))) + (define-public perl-mime-base64 (package (name "perl-mime-base64") -- cgit v1.2.3