From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oH3sIjhL02WUlgAAe85BDQ:P1 (envelope-from ) for ; Mon, 19 Feb 2024 13:36:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oH3sIjhL02WUlgAAe85BDQ (envelope-from ) for ; Mon, 19 Feb 2024 13:36:08 +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=EiLT1FBW; 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=zancanaro.id.au (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708346168; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=YO+tbExRar6Ey+dtytYwklq1izk9ZltusP9axhbWV9w=; b=AZ0Vc5j/NpdrizMRfo98vkFv7MSJ3R+bVLGs+WsMXcWKxSJgRo0t1V3Mc9XcPEnQMSdhdK wJo8dJ9tYH0FHcK0CFkpUkQ8pSSDvKUppI98s2sLPbgLknOETi9YcsgjKDEpEVJzciMJUv 5Sh+PvJ5t7MW2rAH1a/b8qGWaIm62fvPO/7MKZYCHwU88YaeVZtqQoUeaHJRAGRA4M1CP4 Zq4Ib1q4v0emc2TsD5HaOvkazz1Qg/rCSz3WKvH0Nwt38Z9qd1zDafmzrUkXPQ7IcyLsxq U24uQecx2n61c82Nd7hQQeCkmp+LYMnxVrSaxdo/JTDku7CdTBux4VdPqaSjgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zancanaro.id.au header.s=k1 header.b=EiLT1FBW; 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=zancanaro.id.au (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708346168; a=rsa-sha256; cv=none; b=XB3qzf9Z0jdIqppbCIrm+yZBTsbgzXsMpmMBV3p8K7/oKkMqI0JlSKsGS3soFLIlZAT2gG PaVXGHXR0TfUia316lpGNP4+vGgJ7/3Hmq3jar6HKgnWCXlePJm3FhU1Uw97yCWDKfrLFB kbEnPDS1Q59ll6ZBznmwo5EkUNG+UFmkRELSCIK1u04AAbBkm0sWPJHGSA0HZhME37rVQh zEfmr2STcBZ7H5f9xEp7Z12NmSoJ21A3mkGlpvfTli78Xch9bJvdgSGF2ZhPEqCqyjJhjg M/usoSu7EDWOYhdPlBAmBlKVgXCVtfsGVEZ0vErUGczaSrGsnFzR+75eNyU7vQ== 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 DF65B126E3 for ; Mon, 19 Feb 2024 13:36:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rc2sC-0001mp-JU; Mon, 19 Feb 2024 07:35:52 -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 1rc2s1-0001eH-Bm for guix-patches@gnu.org; Mon, 19 Feb 2024 07:35:41 -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 1rc2s1-0004xD-1M for guix-patches@gnu.org; Mon, 19 Feb 2024 07:35:41 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rc2sM-0001J4-1m for guix-patches@gnu.org; Mon, 19 Feb 2024 07:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69272] [PATCH 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: Mon, 19 Feb 2024 12:36: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 Received: via spool by 69272-submit@debbugs.gnu.org id=B69272.17083461574991 (code B ref 69272); Mon, 19 Feb 2024 12:36:02 +0000 Received: (at 69272) by debbugs.gnu.org; 19 Feb 2024 12:35:57 +0000 Received: from localhost ([127.0.0.1]:40588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rc2sH-0001IP-Am for submit@debbugs.gnu.org; Mon, 19 Feb 2024 07:35:57 -0500 Received: from voltorb.zancanaro.id.au ([45.77.50.64]:47274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rc2sC-0001He-Vr for 69272@debbugs.gnu.org; Mon, 19 Feb 2024 07:35:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=YO+tbExRar6Ey+d tytYwklq1izk9ZltusP9axhbWV9w=; h=references:in-reply-to:date:subject: to:from; d=zancanaro.id.au; b=EiLT1FBW95BI9/41HBbms6bmHib3fJKOJuOLPW02 VPbMaFbtq1VRS6d7ta9AUS84cCcqZmfX5wXs6PqrWryO6I+/d8siV25CbkqgWYdQMNdWOR 2S/O/QMPxtX2cVfIpY6GxxuDJ/YBJ3PVCbLSKIK5TxF8erT5LX4YLGrTH690g= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id 92aa67a4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <69272@debbugs.gnu.org>; Mon, 19 Feb 2024 12:35:19 +0000 (UTC) From: Carlo Zancanaro Date: Mon, 19 Feb 2024 23:34:57 +1100 Message-ID: X-Mailer: git-send-email 2.41.0 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-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 4.02 X-Spam-Score: 4.02 X-Migadu-Queue-Id: DF65B126E3 X-TUID: Y+3eCc2f8aU1 * 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 9cc90c588b..3f39900c44 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