From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cDJQJucDTmP2FwEAbAwnHQ (envelope-from ) for ; Tue, 18 Oct 2022 03:39:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +BOIJecDTmPhjgAAG6o9tA (envelope-from ) for ; Tue, 18 Oct 2022 03:39:51 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6BDD26604 for ; Tue, 18 Oct 2022 03:39:51 +0200 (CEST) Received: from localhost ([::1]:57796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okbaA-0005rX-I4 for larch@yhetil.org; Mon, 17 Oct 2022 21:39:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okbZQ-0005oK-Cc for guix-patches@gnu.org; Mon, 17 Oct 2022 21:39:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okbZQ-0007yc-4V for guix-patches@gnu.org; Mon, 17 Oct 2022 21:39:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okbZP-0003k6-W7 for guix-patches@gnu.org; Mon, 17 Oct 2022 21:39:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58603] [PATCH 4/8] gnu: Add perl-string-format. Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Oct 2022 01:39:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58603 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58603@debbugs.gnu.org Cc: EuAndreh Received: via spool by 58603-submit@debbugs.gnu.org id=B58603.166605712914302 (code B ref 58603); Tue, 18 Oct 2022 01:39:03 +0000 Received: (at 58603) by debbugs.gnu.org; 18 Oct 2022 01:38:49 +0000 Received: from localhost ([127.0.0.1]:50580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okbZB-0003ib-5C for submit@debbugs.gnu.org; Mon, 17 Oct 2022 21:38:49 -0400 Received: from box.euandre.org ([46.101.160.115]:56091) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okbZ9-0003iG-8R for 58603@debbugs.gnu.org; Mon, 17 Oct 2022 21:38:47 -0400 Received: from authenticated-user (box.euandre.org [46.101.160.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.euandre.org (Postfix) with ESMTPSA id 0A281FC4D1; Mon, 17 Oct 2022 22:38:40 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail; t=1666057121; bh=lYGm/Vnir7hjCRVQhys7FtHRob0Jo+3a+gvEANA13QE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bDQjIFdLeQ/+6jq5wn0JGMLC7utXyaYNWdIZ0PyPBZ/q1cm1azx9GsnwJLd3sQ9DX /EFV6UFnrfEgMQS5DZeIMpT6N62dQDUBdva2RbJyk4McUkS0pL5/1wkiT0w8/QdMtT F6L6HvMmJRVxYRNuXRzyDA3uO+XENPgRQtpsemJT0oznzOJT0MYCKAfsyAVIJ+tgrD 9sh51pkOcVVRiGoJH6r8Y16ADX2eMEaF03t9mUKMGXSqrAe4WDtzWRA7fHcbuy3TZ3 JfZvxLtQ42hexlYDojHIXAuFz1epvWLxO2NCX2G0jQ6xzuHksfm52LQbm22X3NyGqX yC7vSdKe2EDEA== Date: Mon, 17 Oct 2022 22:38:14 -0300 Message-Id: <20221018013818.12165-4-eu@euandre.org> In-Reply-To: <20221018013818.12165-1-eu@euandre.org> References: <20221018013818.12165-1-eu@euandre.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: EuAndreh X-ACL-Warn: , EuAndreh via Guix-patches From: EuAndreh via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666057191; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RGW3hcXOdcDxcD3GazrOB0FTk622ALROGj2cTt/kHLc=; b=ntqMEda32gPrPiEq5pzKf2Fn5GiaXFy9QouNmy2S3FmDskQdJxYu+bHn6KU3H8F8AkVCGp 0H4mZCgLYFFDcZynHgNsYo+ib7CLtRyP2VwDz2BTfNdNYEKmvsluNz00mlW/df793Kilhg Zxj3eQtS8lFSMOgIKu4461Ut9dIvuev5MEvRLVdAXo6CvPgAC5o/FfdXUL8FBCuxhIr3zH D1ZL/ppPzYw8eAdgxcZDQastvQEs84PueCr1Kcbn3MM2thqEOvHwK6CbIDwMc+Wyf51J/1 prAHwtkY5syKwVS+u18cQT/Rh1SQ3RFoeZu0frE2hGWK06JS1fS0iSfjL/EsNQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666057191; a=rsa-sha256; cv=none; b=h5XtQVMHaErQqwMoNJbZZCrj2Doc0wdvz6XUG9eJQewqYsWxnzcu6cINKT9a+x8d8ErYYA Qw/t5Wh8Y6bYquiTBf9Ii7c372bBSydFI42+6dvrVo/r8svzjvX0FWiih4kH6+oltxd6Nb xsLkt+nCnOzkHpAupCH5igNz+zOtM2/jO+tV+OTIGmPuz9L6pWHOpkWY+a6IBkKDQcW0Mk TTVJRF62m6AWrKnMpd+WBMe3GvQiHEWPfPcYApsqL/MuRMtQfXK+jsiuefBRL4U9WLC/Ry vsqna3oefZ7Y4qH5taVJHeEBYu80kvvEi4uMW+QE7kldmDl90SU6WBS7wCQZbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=mail header.b=bDQjIFdL; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=mail header.b=bDQjIFdL; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6BDD26604 X-Spam-Score: -3.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: OhbbwtPAa9I4 * 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