From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YCreCjp1a2JxJwAAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 07:18:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IbMICjp1a2L8ugAAG6o9tA (envelope-from ) for ; Fri, 29 Apr 2022 07:18:50 +0200 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 CCEAF46FAB for ; Fri, 29 Apr 2022 07:18:49 +0200 (CEST) Received: from localhost ([::1]:35402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkJ1l-0007ic-1B for larch@yhetil.org; Fri, 29 Apr 2022 01:18:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkJ12-00072J-Vl for guix-patches@gnu.org; Fri, 29 Apr 2022 01:18:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkJ12-0000bh-LP for guix-patches@gnu.org; Fri, 29 Apr 2022 01:18:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nkJ12-00078N-G4 for guix-patches@gnu.org; Fri, 29 Apr 2022 01:18:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55179] [WIP PATCH 05/30] gnu: Add nqp-configure. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Apr 2022 05:18:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55179 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55179@debbugs.gnu.org Cc: "Paul A. Patience" Received: via spool by 55179-submit@debbugs.gnu.org id=B55179.165120947527358 (code B ref 55179); Fri, 29 Apr 2022 05:18:04 +0000 Received: (at 55179) by debbugs.gnu.org; 29 Apr 2022 05:17:55 +0000 Received: from localhost ([127.0.0.1]:50577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkJ0l-00076q-1F for submit@debbugs.gnu.org; Fri, 29 Apr 2022 01:17:55 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:48172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkJ0j-00076V-Ne for 55179@debbugs.gnu.org; Fri, 29 Apr 2022 01:17:46 -0400 Date: Fri, 29 Apr 2022 05:17:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1651209460; bh=txOunhBqGNHr3ZcVQpqBv6gwyVWcBuj/o3c3GNv7MoM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=gaJynV8T83TuNLxczpQ+pg+xXOsD45fccJXEiNOfcT30IETAlHGLjzT6DRbeS2pMP 5bGXy/0m6bME2em1tbgN8ViKwuQXqlNm91IDIym+JYx58Dsk7jb/YnkmUyLZjhyZ/4 LcaPoR5x/Yx1XhlTzj4UnbWnEkmRmf98iRxfilwd+C3h0qwV/9JhoLqCORm5vsO/IE NZmPMW4X7Z+hIxNNAOQ5fF90H+8GpsAa/muE8CXalFPFymyxeOJFjdoybp5JoJliyN 1K0arFbjwvmMa/SEuVBb8GZunh3t3FDfkhkfayBGCilmoxujWeEN6TFqUcwATgRyrw OTjpSFuf6TOIg== From: "Paul A. Patience" Message-ID: <20220429051700.373076-5-paul@apatience.com> In-Reply-To: <20220429051700.373076-1-paul@apatience.com> References: <20220429051700.373076-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651209529; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=txOunhBqGNHr3ZcVQpqBv6gwyVWcBuj/o3c3GNv7MoM=; b=RzAknSMbPZflOEYUaKG5uIxVu/iJqUMcc/f0FgD6s8ElMY0iypQt+odcQrvrQXjqJg6oO/ AhW0CLHv3xTNHYGGf4fO6BpRxSpCw1e77TEp3dlxArmJMdxGxTy7hkbulRzSG2RYCxEROC RJDKyxGwTCyoZ+2pxSX1I/RRBXnuTE4k7jQe9JwvPzqQ0rO74wQiHmdSlYmAazYFJmuu55 zij9kE/CyW8i/ZBiuzUtUopHxCuxJmQXYnoJI41WhRPhmPko01ZnL3X3fxUHm3Wg05rPFL r5e5Tdhlb683WjScepRNr9gxvevKAdUyPFqNDXT1l4bT6IYnqYuFCDyL3fQoTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651209529; a=rsa-sha256; cv=none; b=mFtvd48MslMIUAc0i6QBxZ+AsU3Vv1NZ0nuUfVRgtRNo5p0UI+I24SnHauWekgE9BK1RqX 7fqtMEjhi3qoGC5o96HeyPBuoRxqeyddELceQXLOjhurpcruFGlMoDkW5MtzL/EQTRMs11 Fjpk+E4L4jSdb3KH+Xa9lZ0NlNOWiSi0ZJ9pxGTzFLoufLiG3i1suEZQzfZz08PeaYrjQ2 0fMyYlh8dTKg5EgLd1qTKl+g/fXz9SuHLaYdyMIKjBS+QHiCjQA3geuX5flacMq3NIpNn5 82fRMHW5Mk39PlJCxWYpmhlHZTA2GHy7wjYREs4ona9/UdxieDayFcBnUZZoSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=gaJynV8T; dmarc=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" X-Migadu-Spam-Score: 1.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=gaJynV8T; dmarc=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" X-Migadu-Queue-Id: CCEAF46FAB X-Spam-Score: 1.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: lxjdcJ4k6AgJ * gnu/packages/perl6.scm (nqp-configure): New variable. --- gnu/packages/perl6.scm | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm index 35652cda17..b510a584f2 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -98,6 +98,60 @@ (define-public moarvm @end itemize") (license license:artistic2.0))) +(define-public nqp-configure + (let ((commit "9b98931e0bfb8c4aac61590edf5074e63aa8ea4b")) + (package + (name "nqp-configure") + ;; NQP and Rakudo use the same version of nqp-configure. + ;; We may as well set nqp-configure's version to the same as theirs. + (version "2022.04") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Raku/nqp-configure") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vc1q11kjb964jal9dhgf5vwp371a3rfw7gj987n33kzli7a10n0"))= )) + (build-system perl-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'create-makefile-and-manifest + (lambda _ + (call-with-output-file "Makefile.PL" + (lambda (port) + (format port " +use ExtUtils::MakeMaker; +WriteMakefile(NAME =3D> 'NQP::Config');\n"))) + (call-with-output-file "MANIFEST" + (lambda (port) + (format port " +LICENSE +MANIFEST +Makefile.PL +README.md +bin/make.nqp +doc/Macros.md +doc/NQP-Config.md +lib/NQP/Config.pm +lib/NQP/Config/Test.pm +lib/NQP/Macros.pm +t/10-config.t +t/20-macros.t +t/30-if-macro.t\n"))))) + (add-after 'patch-source-shebangs 'patch-more-shebangs + (lambda _ + (substitute* '("bin/make.nqp" + "lib/NQP/Config.pm") + (("/bin/sh") (which "sh")))))))) + (home-page "https://github.com/Raku/nqp-configure") + (synopsis "Configuration and build modules for NQP") + (description "This library provides support modules for NQP and Raku= do +@file{Configure.pl} scripts.") + (license license:artistic2.0)))) + (define-public nqp (package (name "nqp") -- 2.36.0