GNU bug report logs - #63894
[PATCH] Add SpamAssassin, Debbugs dependencies

Previous Next

Package: guix-patches;

Reported by: Antero Mejr <antero <at> mailbox.org>

Date: Sun, 4 Jun 2023 17:37:01 UTC

Severity: normal

Tags: patch

Done: "Danny Milosavljevic" <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

Full log


Message #50 received at 63894 <at> debbugs.gnu.org (full text, mbox):

From: Antero Mejr <antero <at> mailbox.org>
To: 63894 <at> debbugs.gnu.org
Subject: [PATCH 15/55] gnu: Add perl-constant.
Date: Sun,  4 Jun 2023 17:42:09 +0000
* 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





This bug report was last modified 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.