From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mKVyLB1Ck2YevgAAe85BDQ:P1 (envelope-from ) for ; Sun, 14 Jul 2024 03:12:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mKVyLB1Ck2YevgAAe85BDQ (envelope-from ) for ; Sun, 14 Jul 2024 05:12:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MQrScROM; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720926749; 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=pjmiKx8VO3TbLFwf6YWgYeO2lNZ9eY3bTjiE/cFa4lw=; b=OwrSWdxpryrYNrU2SdUEVnvE2Szbt1ujM+KK/39M3CCrFyJVdTsGE3GRqL7ofMVOE9FlBN T1clMBjnJ6CHPLxinhnjLoCduqzDBs4hnIL7V5XUGjXNgQtRjRMK7Vg86N4KldvvRLzi4U 041Zn/HXL/Vp1/bYagPK1nMTqMJwpf/yeNzgXhs+bAjWl3BRLDjjzGwzFiAdH2R+FDqgRS DsV+/jnzYwj/3SbQiLdK5DGV9QJ/EhZzhFePVV8Vnbn9tKief5CitUS7oPWhiR3VVdX78h 65cKBOXq5UbwesSWgWwkIhl9+JUaey142fXMCLtywkj3ufeeJufPbQw+ABJ2/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MQrScROM; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720926749; a=rsa-sha256; cv=none; b=QbjbIO8Mg6jwIQ55Z5vbqt0KhzbVmBjOti93rljgVjdJH7liYon+mpujvK7UhJzoBnBsBu lUDb5Yr9+h0bD26ctri1bRJt8Mr0drizlCHrPUR2cmeDlqMoakYQWfS8l0N5Y5H2XHgUnI YgF7arm3+lcjqm2DSnHKBZjg3O3m6drmZV7azZ/Nucov8SPuQg5/6L9gNI5Qkd3+f33vTX Phx7AEFs1Z2qDDMo5ukPBRVw9LNYCsUYo69WCgJC3172g43D2IPH1HZpLMZP5haxMyGahw vMbqGWRpcczDjKQTKrFSGbKcN6zEqOxb0st1jywJlW+zTgbeC4l8GWZ9GT5bzg== 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 81EA225E3B for ; Sun, 14 Jul 2024 05:12:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSped-00073F-U2; Sat, 13 Jul 2024 23:12:03 -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 1sSpeb-00072o-Bh for guix-patches@gnu.org; Sat, 13 Jul 2024 23:12:01 -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 1sSpeb-0005eF-2s for guix-patches@gnu.org; Sat, 13 Jul 2024 23:12:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSpec-00051X-76 for guix-patches@gnu.org; Sat, 13 Jul 2024 23:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72101] [PATCH 2/2] gnu: Add perl-minimumversion. Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Jul 2024 03:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72101 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72101@debbugs.gnu.org Cc: gemmaro Received: via spool by 72101-submit@debbugs.gnu.org id=B72101.172092671419290 (code B ref 72101); Sun, 14 Jul 2024 03:12:02 +0000 Received: (at 72101) by debbugs.gnu.org; 14 Jul 2024 03:11:54 +0000 Received: from localhost ([127.0.0.1]:57000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSpeU-000514-8E for submit@debbugs.gnu.org; Sat, 13 Jul 2024 23:11:54 -0400 Received: from mail-pj1-f44.google.com ([209.85.216.44]:49391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSpeR-00050g-Ee for 72101@debbugs.gnu.org; Sat, 13 Jul 2024 23:11:51 -0400 Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-2c9a8313984so2629187a91.2 for <72101@debbugs.gnu.org>; Sat, 13 Jul 2024 20:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720926644; x=1721531444; 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=pjmiKx8VO3TbLFwf6YWgYeO2lNZ9eY3bTjiE/cFa4lw=; b=MQrScROMc27dDuxgz/y6xJ/gV8M4CXyTJPOgxMxlNa0Y4W6EUDWMT9Pz5UAsM8WKFD nU05jFoaHJDMvU633w9bDOhNelfUYu3CbIya8dLazK7l9y8yGquWCa0iFKhHC9ANRPUR JO/cfgz21uJFXyVgPcfrZzypq/gP2DDis8ZHclO3LUBh1/E2U4LesCpny/OZZu7Rh7QY lAkJu4pKU9EYgVw6u8SRXk4YmNQPsSGxn5QBuzcdX6sDLiMKAHHXYcW25DGyDE4ve4Op P65+ojhVaw/LVdNIM/kXC9vqCAJxO44oRCAbRknLSuQK48+bq3jjgLCuKVklDbE76LtL PboQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720926644; x=1721531444; 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=pjmiKx8VO3TbLFwf6YWgYeO2lNZ9eY3bTjiE/cFa4lw=; b=XfBah84r20bgj2yjvDCNCCUZT1s9vbPc8mIj4CWRaB01jwNjR2enr7AztDEzf+L5Fo EFQF527CgxAhHL1W4YmB37cqL7aDk1PsyVnwlhrgHkEecHdrUEOPBF5cKJ38x8lc2aBB 4uRlLCgikcg/oZrozWRs9It089dDZ/Ze6BDKxtJ7SNFQ5gePSGIDZ0pTwh/+ql1kBKJV 4HNRFcF1ETjASZeHVOWuGAegi7Fa0Lx/OmO1szjadi1ENGPiEIWuO6NXgfc0GvuDvB9w RJtgP3iUIb8T9gR90IBhFKpJnIpWTFDYYApuOMfoa60L1yliu0Qhj4RoK6C04RczAdb3 ievA== X-Gm-Message-State: AOJu0YzauXzxal/c8zaDYOshrOyAWv0jgkSTUrCM3ODHvnf/usBHc7pI nlix+DV3wSAB1Kvy5LCxRNtxuDkiZ+tutUTll0MCiRSZFOrfIChd2C6uVzg7 X-Google-Smtp-Source: AGHT+IGYsY64CAj3fdYdUNLciKupUoDgdpJQlsZVpipNKv7v/b2E/fndy4NXRu7TVVUnT6QrIr1uaA== X-Received: by 2002:a17:902:eccf:b0:1fb:4fa4:d24 with SMTP id d9443c01a7336-1fbb6ee1e71mr150179815ad.50.1720926644185; Sat, 13 Jul 2024 20:10:44 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fc0bc27383sm16662555ad.140.2024.07.13.20.10.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jul 2024 20:10:43 -0700 (PDT) From: gemmaro Date: Sun, 14 Jul 2024 12:10:16 +0900 Message-ID: <9df71471e436e654ee2793ecc6e64c53bba9ab25.1720925376.git.gemmaro.dev@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 3.10 X-Migadu-Queue-Id: 81EA225E3B X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 3.10 X-TUID: TIFz3jtHBBNK * gnu/packages/perl.scm (perl-minimumversion): New variable. Change-Id: I731567f257d8415b4cf834ab22c7e64699a8b28f --- gnu/packages/perl.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index fe75ffa4c4..bbc06d320c 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -6877,6 +6877,46 @@ (define-public perl-mime-types knowledge of Apache.") (license (package-license perl)))) +(define-public perl-minimumversion + (package + (name "perl-minimumversion") + (version "1.40") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/D/DB/DBOOK/Perl-MinimumVersion-" + version ".tar.gz")) + (sha256 + (base32 "145yl4qv14xcrr74w1qvdb6s0h5lj8smnfawfnj0rmv0rdwab2bm")))) + (build-system perl-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-after 'install 'wrap-programs + (lambda _ + (wrap-program (string-append #$output "/bin/perlver") + (list "PERL5LIB" ":" + 'prefix + (list (string-append (getenv "PERL5LIB") ":" + #$output + "/lib/perl5/site_perl"))))))))) + (inputs (list bash-minimal)) + (propagated-inputs (list perl-file-find-rule + perl-file-find-rule-perl + perl-params-util + perl-ppi + perl-ppix-regexp + perl-ppix-utils)) + (home-page "https://metacpan.org/release/Perl-MinimumVersion") + (synopsis "Find a minimum required version of perl for Perl code") + (description + "@samp{Perl::MinimumVersion} takes Perl source code and calculates the +minimum version of perl required to be able to run it. Because it is +based on @samp{PPI}, it can do this without having to actually load +the code. The distribution comes with a script called @samp{perlver}.") + (license license:perl-license))) + (define-public perl-mixin-linewise (package (name "perl-mixin-linewise") -- 2.45.2