unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: EuAndreh via Guix-patches via <guix-patches@gnu.org>
To: 58603@debbugs.gnu.org
Cc: EuAndreh <eu@euandre.org>
Subject: [bug#58603] [PATCH 4/8] gnu: Add perl-string-format.
Date: Mon, 17 Oct 2022 22:38:14 -0300	[thread overview]
Message-ID: <20221018013818.12165-4-eu@euandre.org> (raw)
In-Reply-To: <20221018013818.12165-1-eu@euandre.org>

* gnu/packages/perl.scm (perl-string-format): New variable.
---
 gnu/packages/perl.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f5a8fad4d5..d6e4de59fc 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9464,6 +9464,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")
-- 
2.38.0





  parent reply	other threads:[~2022-10-18  1:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-18  1:32 [bug#58603] [PATCH 0/8] Add perlcritic EuAndreh via Guix-patches via
2022-10-18  1:38 ` [bug#58603] [PATCH 1/8] gnu: Add perl-config-tiny EuAndreh via Guix-patches via
2022-10-18  1:38   ` [bug#58603] [PATCH 2/8] gnu: Add perl-pod-spell EuAndreh via Guix-patches via
2022-10-18  1:38   ` [bug#58603] [PATCH 3/8] gnu: Add perl-readonly-xs EuAndreh via Guix-patches via
2022-10-18  1:38   ` EuAndreh via Guix-patches via [this message]
2022-10-18  1:38   ` [bug#58603] [PATCH 5/8] gnu: Add perl-ppix-regexp EuAndreh via Guix-patches via
2022-10-18  1:38   ` [bug#58603] [PATCH 6/8] gnu: Add perl-ppix-quotelike EuAndreh via Guix-patches via
2022-10-18  1:38   ` [bug#58603] [PATCH 7/8] gnu: Add perl-ppix-utilities EuAndreh via Guix-patches via
2022-10-18  1:38   ` [bug#58603] [PATCH 8/8] gnu: Add perl-critic EuAndreh via Guix-patches via
2022-10-18 10:24 ` bug#58603: [PATCH 0/8] Add perlcritic Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221018013818.12165-4-eu@euandre.org \
    --to=guix-patches@gnu.org \
    --cc=58603@debbugs.gnu.org \
    --cc=eu@euandre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).