From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OJlJA4PHsGZUcgAA62LTzQ:P1 (envelope-from ) for ; Mon, 05 Aug 2024 12:37:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OJlJA4PHsGZUcgAA62LTzQ (envelope-from ) for ; Mon, 05 Aug 2024 14:37:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=EGm83E8E; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=EC1GrtwD; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722861442; h=from:from:sender:sender: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=DVdAYnUrBYmdvgbsgb3Qf8qLyeqSkv+vznxMXfXZx50=; b=OENrcgKwE4ClPcdVupVZMqWpbDVvSsGCogMFwapAfSuJqmA5J9SuBwDemlxIBuOh2S3K3+ ksltwny96vx2NyxKp3uPu9v+wcLe9ilqTUEZgToU7n2Js1YF4jneEBN6pZepkWqr1KmlF3 5ieGhZwAq4nQfP98+R+aKn21nauo7aEClst7lbxjy6XbBb61Qv4JIhMiW7YJ5pREXK52IK i/4SZX3OLSvzoN/AbpC6+BHOVAwwy0LEGOuBJxd0fPLfLDMDxKQ0mgCNsoleN4VSAs0jg4 NoO4FbmIsoHSErD+RgB+iNLAsHYBDzkqAQwbs0I4wt12XL26Puxo+wUC54pf8g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722861442; a=rsa-sha256; cv=none; b=n1WTQ64l/PgU5UrwJYN6i75U9rRDDk2obyF5EiMtYV2YX3pTW4NhRJD3g3J3mhLPH0o3X/ 7+kTonXPu6hRNoih16o9dj3CM4DCvgL+6s0KD336vbOsA5DWpVDLutKxocWJpziwYOYzbE SYDkBDt/WRVbinasOqwUrR/71i43zLl564eFLpIq096UdD7gOM/B72v4sHZ1UPXzqgVQeI NcmheWv8XfBl6fXHGmXpP/5hdkmwAdoQDOqFg/sKmtHMlh+mUZ31VZ2XMcDl6m5N33xwb9 h1SNAxH3tc23xiDGq2GLzLsIVMPZPRcVQmUcZgAhLY85w++ISOHZkMtJw4RhcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=EGm83E8E; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=EC1GrtwD; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" 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 E477A62FF8 for ; Mon, 5 Aug 2024 14:37:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sawx8-0001Yf-DC; Mon, 05 Aug 2024 08:36:42 -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 1sawx7-0001YD-0r for guix-patches@gnu.org; Mon, 05 Aug 2024 08:36:41 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sawx6-0004k8-OM for guix-patches@gnu.org; Mon, 05 Aug 2024 08:36:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=DVdAYnUrBYmdvgbsgb3Qf8qLyeqSkv+vznxMXfXZx50=; b=EGm83E8EKmZ/emp4MbEyf9BV9kL3BOwrz/UgB6nk0tdxb2sn6Fk8Lz7r8v8FiCRLdC8C2uRdovkVBrjaKA9XDQ3uQgpYtF9/yzSPFHIBybmKaO7bTjn76susvxpB6IhOX+51qkthwDrBMn6W5mC8ur7x0ww81R03tzXKhHwMVSM0NIy1ef2yd9+jNS75m2b/q0SjA85A0f4RPvc3LtEndE9Ylgcaw+8A0Uu63gxDHzzH1Lx5+lxMOT7mxOGtTbfvGrInoEyZ3SkawP+Hq5sz+MnRLszUb8dBMA4mjb5qyQoHWrddGhboWecKIZED5EKSD1yVeUFxgCzcfwBOFvGXmQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sawxS-0006vT-KK for guix-patches@gnu.org; Mon, 05 Aug 2024 08:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63866] [PATCH v2 02/12] gnu: Add perl-ref-util. Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Aug 2024 12:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63866 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63866@debbugs.gnu.org Cc: gemmaro Received: via spool by 63866-submit@debbugs.gnu.org id=B63866.172286136226277 (code B ref 63866); Mon, 05 Aug 2024 12:37:02 +0000 Received: (at 63866) by debbugs.gnu.org; 5 Aug 2024 12:36:02 +0000 Received: from localhost ([127.0.0.1]:58214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sawwT-0006pU-RT for submit@debbugs.gnu.org; Mon, 05 Aug 2024 08:36:02 -0400 Received: from mail-pj1-f43.google.com ([209.85.216.43]:57815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sawwS-0006op-9f for 63866@debbugs.gnu.org; Mon, 05 Aug 2024 08:36:00 -0400 Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2cd5e3c27c5so7092715a91.3 for <63866@debbugs.gnu.org>; Mon, 05 Aug 2024 05:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722861272; x=1723466072; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DVdAYnUrBYmdvgbsgb3Qf8qLyeqSkv+vznxMXfXZx50=; b=EC1GrtwDHdu4LY191P29CZTw7YjXRhWhH7sBv1k3IXi0n2rBihc7yCnAeaTsUA6jAM esbY3WboM1EvIXy097xQM8U6D6x4q0dIc8BIBqa7vW2BZgdZ9DX8HtzH9pCm285mTg6J DHeRJ/7eXqxvD/A8t9Xsi30F18b80TLFSaq7XsrN8v4z4fhqVl75piCKa8R5/3u1h91j 56xOAVwT6lo5S9ui1i+UYl4LQcwIYRZ4Tj1eEnOTvNzf5UYgDpCWnGijyn3j/54RE5+M NSXIR0XAbGi2UH+3+wh9LiRTF/74XJve1bEAXUBsJ1GNHgjC7V0t7pCmHEbbyoa1iWsi oY4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722861272; x=1723466072; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DVdAYnUrBYmdvgbsgb3Qf8qLyeqSkv+vznxMXfXZx50=; b=Uh5GzgAyLuBTDKSZJNQWbMc+MW2Pp9KQT6wmoIxOby8R+W5zvSjuVjf3T27RxVkfeQ GtHj5YPvxHdphEsAKNEFkX0wGrMBXFJAg/bU5HpYWX7kFgo5XvRjbXtSI26CDzkumhlv jv3mwAtpa7abibaSN6n8HcMkSXNcgiJLpExHYh16Aq1rsjAe8Mq0ZT3+jwFMv+Jn1UWe K6EbvSPMphFCWsSAerhQ7aMyhoIlPptHABijGb9I6Yzr3/qcAJb8+d/vMI1VD/kgIN3z EFY26UeH05XW1fDvcTqQ/Rf9wbVDKsugSqRLXh3Jxpru9/dDl/8OZ+/p401xgoLYl2gL wsrg== X-Gm-Message-State: AOJu0Yxt49kBQVBnggBfm7kjnF2ST/jo/l/0SdZvWttc10JLsqlJKKCC O+3nh7KzH+y4bHh5xgh9LcHWfOpw2XVsod3TJrZyUQSw4EVYLM+2pjI0bN73 X-Google-Smtp-Source: AGHT+IG4fORi6eOgM5lt2MiADm+faL/9tDYmYG5f9BUhgRDQDt0C2iurgYpRY80lpSSh/hIvyWqcYg== X-Received: by 2002:a17:90a:c70c:b0:2c9:7803:1cf6 with SMTP id 98e67ed59e1d1-2cff94478a8mr10040299a91.20.1722861272074; Mon, 05 Aug 2024 05:34:32 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cffb0cc9f5sm6956078a91.27.2024.08.05.05.34.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 05:34:31 -0700 (PDT) From: gemmaro Date: Mon, 5 Aug 2024 21:33:45 +0900 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <8f70afa35d5b8cffeb7db01feb4d461adbb722a6.1722861235.git.gemmaro.dev@gmail.com> References: <8f70afa35d5b8cffeb7db01feb4d461adbb722a6.1722861235.git.gemmaro.dev@gmail.com> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: E477A62FF8 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.88 X-Spam-Score: -9.88 X-TUID: xNjgPiW8s9fv * 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