From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6DPTGmsP42VvggEAqHPOHw:P1 (envelope-from ) for ; Sat, 02 Mar 2024 12:37:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6DPTGmsP42VvggEAqHPOHw (envelope-from ) for ; Sat, 02 Mar 2024 12:37:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zancanaro.id.au header.s=k1 header.b=JkM7ZUcR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=zancanaro.id.au (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=1709379419; 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=HJfWvIqwvzO1fRq9UX5MfoSB8w+MFRcjL3HcyreNB2g=; b=G+Q1Y98WzJeHQGHUlm71lWI577q94+rLmMIxY6GmWgPbPtvk2c2f045iYBqyU6Hnv6IspN khJE94F7vLsaYFfAUxW9QXDc0IakfY8dH9Y/V3UQdsd8rhmoSxUqePeSA/4/Bs0nsw9OVT oq1FJCiuUSti+Tul7Gv3JVW8bwJnpTf3QODDtJ3zkZL024SiGCPhID63uQd0cp2iW7WGDO ZnwenlY8PdhyHdXtXHj5ijh/D9uYpGuTmY89JLRj8jUJJ2edgxtQorvdCMH7Lm9k69TnRO mGXf50WXtqv7TVye5IhQG5A6K7krRhZxG3r8s2qngZNi3MNR4nuX/JvG4AJhrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zancanaro.id.au header.s=k1 header.b=JkM7ZUcR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=zancanaro.id.au (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-Seal: i=1; s=key1; d=yhetil.org; t=1709379419; a=rsa-sha256; cv=none; b=lcTXGjbtpPXpAucRoLSdLi+vrSLxOc6L4Zu4ZD7aKpjV+D1ix4Q7rgglqTTV4FobtAykf6 HvwXGOk+JsXj8iQMPuXaZHDv5sFH1VkMcrl3zBqFHZ+NwNy/kayk1D0JN/lVUbXCyLUFv6 NLyUHxBMYjUmLQOzrDGcPnjkCwnfhCx+U86HPvwVS/Qkz+/McCJ0gRUC1EwY1/O47DS28B OAbA1zR9N96sx+fiUScgFRNZUSQtpa/uhEtmwvNyo7a8xq3BGOytSFn748GG+97Dura6DS XT6uGCYucGUq7VfZwznuCFfDuV8h8pIez4iXXj+yYzGrorQsJ4p/+KXrCwR0Nw== 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 36A2653A82 for ; Sat, 2 Mar 2024 12:36:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgNfP-0002Tw-Sr; Sat, 02 Mar 2024 06:36:35 -0500 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 1rgNfO-0002TR-M5 for guix-patches@gnu.org; Sat, 02 Mar 2024 06:36:34 -0500 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 1rgNfO-0003nb-DT for guix-patches@gnu.org; Sat, 02 Mar 2024 06:36:34 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rgNfq-0002oa-Ni for guix-patches@gnu.org; Sat, 02 Mar 2024 06:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69272] [PATCH v3 2/4] gnu: Use copy-build-system for prosody modules. Resent-From: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Mar 2024 11:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69272 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69272@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 69272-submit@debbugs.gnu.org id=B69272.170937938010730 (code B ref 69272); Sat, 02 Mar 2024 11:37:02 +0000 Received: (at 69272) by debbugs.gnu.org; 2 Mar 2024 11:36:20 +0000 Received: from localhost ([127.0.0.1]:38132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgNfA-0002n0-Iu for submit@debbugs.gnu.org; Sat, 02 Mar 2024 06:36:20 -0500 Received: from voltorb.zancanaro.id.au ([45.77.50.64]:39162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgNf8-0002mR-Dh for 69272@debbugs.gnu.org; Sat, 02 Mar 2024 06:36:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=HJfWvIqwvzO1fRq 9UX5MfoSB8w+MFRcjL3HcyreNB2g=; h=references:in-reply-to:date:subject: cc:to:from; d=zancanaro.id.au; b=JkM7ZUcRK5uuELFoZDdZZix4382M9dnHAnY+C i+P1BEVUq3GB0VWavsOIpuUQgF1Mkw1LcNpO8REMJ9LtFmQhdgB5+QfTYQxIrm7SZXkX49 4E9ocUwfpXfH9XShIgm/pzoKGzvWsKnZETBziTNoUMwehBjE7b3yTt7Mg+CatIGE= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id f9e57f2d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 2 Mar 2024 11:35:41 +0000 (UTC) From: Carlo Zancanaro Date: Sat, 2 Mar 2024 22:35:13 +1100 Message-ID: <027b22fdcfe21c50a3870c94a3b0e1f61fb4ea9e.1709379315.git.carlo@zancanaro.id.au> X-Mailer: git-send-email 2.41.0 In-Reply-To: <87v864j2kq.fsf@zancanaro.id.au> References: <87v864j2kq.fsf@zancanaro.id.au> 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-Spam-Score: 4.23 X-Spam-Score: 4.23 X-Migadu-Queue-Id: 36A2653A82 X-Migadu-Scanner: mx13.migadu.com X-TUID: Xqfz4VEJBExq * gnu/packages/messaging.scm (prosody-module): Use copy-build system. Change-Id: I6de2827c63cb454d80b20f3af84fa610a75172f4 --- gnu/packages/messaging.scm | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 35e11fb5dc..3dd1e66e81 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -144,6 +144,7 @@ (define-module (gnu packages messaging) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system go) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) @@ -1600,18 +1601,11 @@ (define (prosody-module module-name) (sha256 (base32 "142wrcism70nf8ffahhd961cqg2pi1h7ic8adfs3zwh0j3pnf41f")))) - (build-system trivial-build-system) + (build-system copy-build-system) (arguments - '(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((out (assoc-ref %outputs "out")) - (source (assoc-ref %build-inputs "source"))) - (with-directory-excursion (in-vicinity source module-name) - (install-file (string-append module-name ".lua") out)) - #t)))) - (home-page #f) + `(#:install-plan '((,(string-append module-name "/") ".")))) + (home-page (string-append "https://modules.prosody.im/" + module-name ".html")) (synopsis #f) (description #f) (license (package-license prosody))))) -- 2.41.0