From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UMrMBKDNfGT/bAEASxT56A (envelope-from ) for ; Sun, 04 Jun 2023 19:45:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EJAPBaDNfGShrwAA9RJhRA (envelope-from ) for ; Sun, 04 Jun 2023 19:45:04 +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 CDFFD14D29 for ; Sun, 4 Jun 2023 19:45:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5rmc-00057y-PK; Sun, 04 Jun 2023 13:44:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5rlz-0004ot-Ex for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5rly-0002D9-R3 for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5rly-0000rL-Lc for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63894] [PATCH 15/55] gnu: Add perl-constant. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Jun 2023 17:44:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63894 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63894@debbugs.gnu.org Received: via spool by 63894-submit@debbugs.gnu.org id=B63894.16859006102656 (code B ref 63894); Sun, 04 Jun 2023 17:44:10 +0000 Received: (at 63894) by debbugs.gnu.org; 4 Jun 2023 17:43:30 +0000 Received: from localhost ([127.0.0.1]:47147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5rlJ-0000gW-Tg for submit@debbugs.gnu.org; Sun, 04 Jun 2023 13:43:30 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:40930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5rlF-0000eU-Co for 63894@debbugs.gnu.org; Sun, 04 Jun 2023 13:43:25 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4QZ3xL0HNlz9sTV for <63894@debbugs.gnu.org>; Sun, 4 Jun 2023 19:43:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1685900598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dTXdUwri5/i6ZPDNqJe7xydSidyiiSWTV/ButslcMzA=; b=JsDA2CtKkU8fLhZBecB4ZI2u7T74sof6ijtyw90JZlKMT6pScJNx6Hjjx/GU3DvMl8EEgA 4Jmhbj1ErKVjJg36hUp7JQhSTGag9TeuKoF419Pm9/LNO6RxkRg4fUdItkF+/vZ1Y5PHWG bfyiJLC+cBeh26wLebn3P97tBK6xxBBYUF46uHZY0TKUr6nSh21+FnNSEsnRhTi48Qz5fZ wZSjAf0YYd2t8rKnE3fIMMd+1N5l5GDKrQI2iEmEpxwpPYZPKyDUpeOZcBU0QBeEK40anb iwDbO61DCWjpEgyrwogmaTdlrFp30wXiLILU1t3tXYuQkaSlrVcVkPVY1q/V0A== Date: Sun, 4 Jun 2023 17:42:09 +0000 Message-Id: <20230604174249.30044-15-antero@mailbox.org> In-Reply-To: <20230604174249.30044-1-antero@mailbox.org> References: <20230604174249.30044-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: d0b9a7aee8b33b500c0 X-MBO-RS-META: gg7oe5oxdze11ua91ngo81kqrrbiu8zu 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: , Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685900703; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=dTXdUwri5/i6ZPDNqJe7xydSidyiiSWTV/ButslcMzA=; b=P3OwN9KKWlnO299E3mwEigySkbdOmhMc44hAlQT76mgK7nS2TD+R/+mNMMybc5XnXKkoii GPVOTDbtltJ/Y1NkOMcA+t9/xO5zmxEODUil1uET/HmwJBXNoKW8jLruoo7PaGQ3cdG6qB bWHkOuq0VP1IzEX8RiiozDDajLfwwkegPRpH1xYmspovYlTpJpbOgiTdmmJaD+6REEll41 vdmzjwi7LCnUjXT4xEEBynk/3rJhYNf3U9IOctLF82ztX/lM7fKSKl7te5K2Jd+n/d6ND9 Dbz0n/pCyPd68Djdck+Ea9O0BhFtlak/3K5C1v/SfuxPNotI459fE/mZcgwHkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=JsDA2CtK; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685900703; a=rsa-sha256; cv=none; b=LjUsFDfEXK9EJfUYNxDbbENclMFiwTxWa6e8SNy72wjTKuIKCpCint2FXGkioKFWQbM2Yu LUHaWfmrOfWOZNOwA8DqG0m0TMNCsLrWfPGtBtvTDrs+T4MVa0blVlGMZ0Ly0DyeidmLds be979Fol4JqWrlk17af/1/a+k8sUQtElhCtmV3w8tXPSRzKWAKQ3W0W+wCwsa4VJnjeP5u y8cN8LXElR9Od0WCHj96928/l+TQbYK5ChFHlObCurakYGCvj6nfrXjpDhbfKELQjMWset dZCiZUku1giBr++/BwXtrmxe05m9Ep4bd7EFQ42o0uDoSmTYQE1ZqPt0BFHTAA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=JsDA2CtK; 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: CDFFD14D29 X-Spam-Score: -1.88 X-TUID: xG8oIH4qgUF7 * gnu/packages/perl.scm (perl-constant): New variable. --- gnu/packages/perl.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 4d456d0f06..d2c41cbc12 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2178,6 +2178,28 @@ (define-public perl-const-fast scalars, arrays, and hashes.") (license (package-license perl)))) +(define-public perl-constant + (package + (name "perl-constant") + (version "1.33") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/constant-" + version ".tar.gz")) + (sha256 + (base32 + "015my616h5l2fswh52x4dp3n007gk5lax83ww9q6cmzb610mv5kr")))) + (build-system perl-build-system) + (home-page "https://metacpan.org/release/constant") + (synopsis "Perl pragma to declare constants") + (description + "This pragma allows you to declare constants at compile-time. When a +constant is used in an expression, Perl replaces it with its value at compile +time, and may then optimize the expression further. In particular, any code +in an @code{if (CONSTANT)} block will be optimized away if the constant is +false.") + (license license:perl-license))) + (define-public perl-context-preserve (package (name "perl-context-preserve") -- 2.39.2