[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63866] [PATCH v2 02/12] gnu: Add perl-ref-util.
From: |
gemmaro |
Subject: |
[bug#63866] [PATCH v2 02/12] gnu: Add perl-ref-util. |
Date: |
Mon, 5 Aug 2024 21:33:45 +0900 |
* 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
- [bug#63866] [PATCH v2 01/12] gnu: Add perl-xstring., gemmaro, 2024/08/05
- [bug#63866] [PATCH v2 03/12] gnu: Add perl-lib-relative., gemmaro, 2024/08/05
- [bug#63866] [PATCH v2 06/12] gnu: perl-list-someutils: Use propagated inputs., gemmaro, 2024/08/05
- [bug#63866] [PATCH v2 09/12] gnu: perl-specio: Update to 0.48., gemmaro, 2024/08/05
- [bug#63866] [PATCH v2 05/12] gnu: perl-config-ini: Use propagated inputs., gemmaro, 2024/08/05
- [bug#63866] [PATCH v2 02/12] gnu: Add perl-ref-util.,
gemmaro <=
- [bug#63866] [PATCH v2 04/12] gnu: perl-config-ini: Update to 0.029., gemmaro, 2024/08/05
- [bug#63866] [PATCH v2 07/12] gnu: Add perl-list-someutils-xs., gemmaro, 2024/08/05
- [bug#63866] [PATCH v2 08/12] gnu: perl-mixin-linewise: Update to 0.111., gemmaro, 2024/08/05
- [bug#63866] [PATCH v2 10/12] gnu: Add perl-specio-library-path-tiny., gemmaro, 2024/08/05
- [bug#63866] [PATCH v2 12/12] gnu: Add tidyall., gemmaro, 2024/08/05
- [bug#63866] [PATCH v2 11/12] gnu: perl-test-class-most: Use propagated inputs., gemmaro, 2024/08/05