From patchwork Tue Aug 30 16:45:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Sockwell X-Patchwork-Id: 42080 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CF3D727BBEA; Tue, 30 Aug 2022 18:56:58 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 872FB27BBE9 for ; Tue, 30 Aug 2022 18:56:58 +0100 (BST) Received: from localhost ([::1]:49378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oT5Tt-0007cy-L9 for patchwork@mira.cbaines.net; Tue, 30 Aug 2022 13:56:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT4NG-0008Bu-Pa for guix-patches@gnu.org; Tue, 30 Aug 2022 12:46:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oT4NG-0006kK-HA for guix-patches@gnu.org; Tue, 30 Aug 2022 12:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oT4NG-000848-DH for guix-patches@gnu.org; Tue, 30 Aug 2022 12:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57491] [PATCH] patch series: Update Raku ecosystem References: In-Reply-To: Resent-From: "Daniel Sockwell" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 30 Aug 2022 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57491 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57491@debbugs.gnu.org Received: via spool by 57491-submit@debbugs.gnu.org id=B57491.166187792630957 (code B ref 57491); Tue, 30 Aug 2022 16:46:02 +0000 Received: (at 57491) by debbugs.gnu.org; 30 Aug 2022 16:45:26 +0000 Received: from localhost ([127.0.0.1]:37331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oT4Mf-00083E-IH for submit@debbugs.gnu.org; Tue, 30 Aug 2022 12:45:25 -0400 Received: from out0.migadu.com ([94.23.1.103]:58570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oT4Mc-000835-Uk for 57491@debbugs.gnu.org; Tue, 30 Aug 2022 12:45:24 -0400 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codesections.com; s=key1; t=1661877920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RGAPoIQ7cYqtRkHWWGtO1Qz+jdH1UhE3O9BevBIvxvk=; b=xBUhjzI0pker/oCZZPswc5A+5AaW4Uv0ays3f4zn9yc/hX90KmZJP9tsGHk/FGNhhITrsb 1zFIuzymf4DJeIpWuK1bTM3feof1IyZehEM3Vg7tNXT/8TcnsGh84+sTGqHdg95DaFDvUT eAMioLivn/NvfkNwqR2RQ+H8NCO94wVJV2ZuUIoVG906wurLkh4WcETFqBVSO8QooZBjqe EEPSVojXeoQJ2OZY+68UEnj2Bayn3E3bHmkSZ2Pd73zusKxpvB5N9QvyqhmFZD9J7dCPRx 6defdmRZfdAfL0jDvrqex29b4v0oPKtvE20VMAJkVF5+tINoJ1plCb1LQJSNKQ== Date: Tue, 30 Aug 2022 16:45:20 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. Message-ID: <6f2a4c710fdcc9f71a4b5982afff76f8@codesections.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: codesections.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 30 Aug 2022 13:23:29 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Daniel Sockwell X-ACL-Warn: , Daniel Sockwell via Guix-patches X-Patchwork-Original-From: Daniel Sockwell via Guix-patches via From: Daniel Sockwell X-getmail-retrieved-from-mailbox: Patches This second patch adds nqp-configure. Please see the commit message for an explanation of why it makes sense to factor this out to its own package. Best, Daniel From 76d8df0bd8042e4da035772d5e8e3e6c22374b0a Mon Sep 17 00:00:00 2001 Message-Id: <76d8df0bd8042e4da035772d5e8e3e6c22374b0a.1661877430.git.daniel@codesections.com> From: Daniel Sockwell Date: Tue, 30 Aug 2022 12:33:33 -0400 Subject: [PATCH] Add nqp-configure This package adds nqp-configure, a utility package that both NQP (the Raku subset used for compiler writing) and Rakudo (the compiler) depend on. Adding it as a seperate package avoids the need for those two packages to pull the script down directly from GitHub (as the upstream instructions provide). --- gnu/packages/perl6.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm index 9b3d98987a..086fc9d2e2 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -23,6 +23,7 @@ (define-module (gnu packages perl6) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix build-system gnu) + #:use-module (guix build-system copy) #:use-module (guix build-system perl) #:use-module (guix build-system rakudo) #:use-module (gnu packages bdw-gc) @@ -98,6 +99,30 @@ (define-public moarvm @end itemize") (license license:artistic2.0))) +(define-public nqp-configure + (let ((commit "9b98931e0bfb8c4aac61590edf5074e63aa8ea4b" ) + (revision "0")) + (package + (name "nqp-configure") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference (url "https://github.com/Raku/nqp-configure") + (commit commit))) + (sha256 (base32 "1vc1q11kjb964jal9dhgf5vwp371a3rfw7gj987n33kzli7a10n0")) + (file-name (git-file-name name version)))) + (build-system copy-build-system) + (arguments + '(#:install-plan + '(("lib" "lib") + ("bin" "bin")))) + (synopsis "Configuration utility for NQP and Rakudo installations") + (description "A utility that simplifies the process of compiling and +installing NQP (Not Quite Perl) and the Rakudo Raku compiler.") + (license license:artistic2.0) + (home-page "https://github.com/Raku/nqp-configure" )))) + (define-public nqp (package (name "nqp")