all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: gemmaro <gemmaro.dev@gmail.com>
To: 63866@debbugs.gnu.org
Cc: gemmaro <gemmaro.dev@gmail.com>
Subject: [bug#63866] [PATCH v2 02/12] gnu: Add perl-ref-util.
Date: Mon,  5 Aug 2024 21:33:45 +0900	[thread overview]
Message-ID: <b861daea39fee49a2c080b0ef7f975ad2812048b.1722861235.git.gemmaro.dev@gmail.com> (raw)
In-Reply-To: <8f70afa35d5b8cffeb7db01feb4d461adbb722a6.1722861235.git.gemmaro.dev@gmail.com>

* gnu/packages/perl.scm (perl-ref-util): New variable.

Change-Id: I097a6e0a0d71d17a8584b0f3309570282872e043
---
 gnu/packages/perl.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 1c0c561365..406cbeb3e4 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9248,6 +9248,35 @@ (define-public perl-readonly-xs
 the scalar's @code{FLAGS} structure.")
     (license license:perl-license)))
 
+(define-public perl-ref-util
+  (package
+    (name "perl-ref-util")
+    (version "0.204")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/A/AR/ARC/Ref-Util-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1q85y5lzgl8wz5qnz3j6mch2fmllr668h54wszaz6i6gp8ysfps1"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-readonly))
+    (propagated-inputs (list perl-ref-util-xs))
+    (home-page "https://metacpan.org/release/Ref-Util")
+    (synopsis "Utility functions for checking references")
+    (description
+     "@code{Ref::Util} introduces several functions to help identify references in
+a smarter (and usually faster) way.  The difference with conventional approach:
+@itemize
+@item No comparison against a string constant
+@item Supports blessed variables
+@item Supports tied variables and magic
+@item Ignores overloading
+@item Ignores subtle types
+@item Usually faster
+@end itemize")
+    (license license:x11)))
+
 (define-public perl-ref-util-xs
   (package
     (name "perl-ref-util-xs")
-- 
2.45.2





  reply	other threads:[~2024-08-05 12:37 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-03  5:01 [bug#63866] [PATCH 00/16] Add tidyall and some tidiers gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 01/16] gnu: Add perl-ref-util gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 02/16] gnu: perl-specio: Update to 0.48 gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 03/16] gnu: Add perl-lib-relative gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 04/16] gnu: Add perl-specio-library-path-tiny gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 05/16] gnu: perl-mixin-linewise: Update to 0.111 gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 06/16] gnu: perl-config-ini: Update to 0.029 gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 07/16] gnu: Add perl-list-someutils-xs gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 08/16] gnu: perl-list-someutils: Update to 0.59 gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 09/16] gnu: perl-test-class-most: Fix to use propagated-inputs gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 10/16] gnu: Add tidyall gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 11/16] gnu: Add perl-encode-newlines gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 12/16] gnu: Add perl-pod-wrap gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 13/16] gnu: Add perl-test-cmd gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 14/16] gnu: Add perl-pod-tidy gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 15/16] gnu: Add perl-perl-tidy gemmaro
2023-06-03  5:05 ` [bug#63866] [PATCH 16/16] gnu: Add perl-code-tidyall-plugin-perl-alignmooseattributes gemmaro
2024-08-05 12:33 ` [bug#63866] [PATCH v2 01/12] gnu: Add perl-xstring gemmaro
2024-08-05 12:33   ` gemmaro [this message]
2024-08-05 12:33   ` [bug#63866] [PATCH v2 03/12] gnu: Add perl-lib-relative gemmaro
2024-08-05 12:33   ` [bug#63866] [PATCH v2 04/12] gnu: perl-config-ini: Update to 0.029 gemmaro
2024-08-05 12:33   ` [bug#63866] [PATCH v2 05/12] gnu: perl-config-ini: Use propagated inputs gemmaro
2024-08-05 12:33   ` [bug#63866] [PATCH v2 06/12] gnu: perl-list-someutils: " gemmaro
2024-08-05 12:33   ` [bug#63866] [PATCH v2 07/12] gnu: Add perl-list-someutils-xs gemmaro
2024-08-05 12:33   ` [bug#63866] [PATCH v2 08/12] gnu: perl-mixin-linewise: Update to 0.111 gemmaro
2024-08-05 12:33   ` [bug#63866] [PATCH v2 09/12] gnu: perl-specio: Update to 0.48 gemmaro
2024-08-05 12:33   ` [bug#63866] [PATCH v2 10/12] gnu: Add perl-specio-library-path-tiny gemmaro
2024-08-05 12:33   ` [bug#63866] [PATCH v2 11/12] gnu: perl-test-class-most: Use propagated inputs gemmaro
2024-08-05 12:33   ` [bug#63866] [PATCH v2 12/12] gnu: Add tidyall gemmaro

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

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

  git send-email \
    --in-reply-to=b861daea39fee49a2c080b0ef7f975ad2812048b.1722861235.git.gemmaro.dev@gmail.com \
    --to=gemmaro.dev@gmail.com \
    --cc=63866@debbugs.gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.