all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlo Zancanaro <carlo@zancanaro.id.au>
To: 69272@debbugs.gnu.org
Subject: [bug#69272] [PATCH v2 2/4] gnu: Use copy-build-system for prosody modules.
Date: Tue, 20 Feb 2024 08:44:17 +1100	[thread overview]
Message-ID: <6bf5ba79c63dc0e6e5cc46e5a89f020aa8a790e3.1708379059.git.carlo@zancanaro.id.au> (raw)
In-Reply-To: <cover.1708345640.git.carlo@zancanaro.id.au>

* gnu/packages/messaging.scm (prosody-module): Use copy-build system.

Change-Id: I6de2827c63cb454d80b20f3af84fa610a75172f4
---
The only change from v1 is to remove the home-page definition from
this diff (because it's now in the earlier patch).

 gnu/packages/messaging.scm | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index d06cd74177..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,17 +1601,9 @@ (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))))
+       `(#:install-plan '((,(string-append module-name "/") "."))))
       (home-page (string-append "https://modules.prosody.im/"
                                 module-name ".html"))
       (synopsis #f)
-- 
2.41.0





  parent reply	other threads:[~2024-02-19 21:48 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-19 12:31 [bug#69272] [PATCH 0/4] Refactor prosody modules, and add prosody-vcard-muc Carlo Zancanaro
2024-02-19 12:34 ` [bug#69272] [PATCH 1/4] gnu: Extract prosody-module from existing prosody modules Carlo Zancanaro
2024-02-19 12:34 ` [bug#69272] [PATCH 2/4] gnu: Use copy-build-system for " Carlo Zancanaro
2024-02-19 12:34 ` [bug#69272] [PATCH 3/4] gnu: Update prosody modules to the newest revision Carlo Zancanaro
2024-02-19 12:34 ` [bug#69272] [PATCH 4/4] gnu: Add prosody-vcard-muc Carlo Zancanaro
2024-02-19 21:44 ` [bug#69272] [PATCH v2 0/4] Refactor prosody modules, and add prosody-vcard-muc Carlo Zancanaro
2024-02-24 11:32   ` Liliana Marie Prikler
2024-02-24 11:58     ` Carlo Zancanaro
2024-02-24 12:50       ` Liliana Marie Prikler
2024-02-24 12:44     ` Liliana Marie Prikler
2024-02-19 21:44 ` [bug#69272] [PATCH v2 1/4] gnu: Extract prosody-module from existing prosody modules Carlo Zancanaro
2024-02-19 21:44 ` Carlo Zancanaro [this message]
2024-02-19 21:44 ` [bug#69272] [PATCH v2 3/4] gnu: Update prosody modules to the newest revision Carlo Zancanaro
2024-02-19 21:44 ` [bug#69272] [PATCH v2 4/4] gnu: Add prosody-vcard-muc Carlo Zancanaro
2024-03-02  6:42   ` Liliana Marie Prikler
2024-03-02 11:27     ` Carlo Zancanaro
2024-03-02 11:35       ` [bug#69272] [PATCH v3 1/4] gnu: Extract prosody-module from existing prosody modules Carlo Zancanaro
2024-03-02 11:35       ` [bug#69272] [PATCH v3 2/4] gnu: Use copy-build-system for " Carlo Zancanaro
2024-03-02 11:35       ` [bug#69272] [PATCH v3 3/4] gnu: Update prosody modules to the newest revision Carlo Zancanaro
2024-03-02 11:35       ` [bug#69272] [PATCH v3 4/4] gnu: Add prosody-vcard-muc Carlo Zancanaro
2024-03-02 13:00       ` bug#69272: [PATCH v2 " Liliana Marie Prikler
2024-03-03  4:07         ` [bug#69272] " Carlo Zancanaro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6bf5ba79c63dc0e6e5cc46e5a89f020aa8a790e3.1708379059.git.carlo@zancanaro.id.au \
    --to=carlo@zancanaro.id.au \
    --cc=69272@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.