gnu: Use copy-build-system for prosody modules.
* gnu/packages/messaging.scm (prosody-module): Use copy-build system. Change-Id: I6de2827c63cb454d80b20f3af84fa610a75172f4 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
bca48fdef4
commit
cab71bdcfb
@ -144,6 +144,7 @@
|
|||||||
#:use-module (gnu packages xml)
|
#:use-module (gnu packages xml)
|
||||||
#:use-module (gnu packages xorg)
|
#:use-module (gnu packages xorg)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
|
#:use-module (guix build-system copy)
|
||||||
#:use-module (guix build-system go)
|
#:use-module (guix build-system go)
|
||||||
#:use-module (guix build-system glib-or-gtk)
|
#:use-module (guix build-system glib-or-gtk)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
@ -1600,18 +1601,11 @@ protocols.")
|
|||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"142wrcism70nf8ffahhd961cqg2pi1h7ic8adfs3zwh0j3pnf41f"))))
|
"142wrcism70nf8ffahhd961cqg2pi1h7ic8adfs3zwh0j3pnf41f"))))
|
||||||
(build-system trivial-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:modules ((guix build utils))
|
`(#:install-plan '((,(string-append module-name "/") "."))))
|
||||||
#:builder
|
(home-page (string-append "https://modules.prosody.im/"
|
||||||
(begin
|
module-name ".html"))
|
||||||
(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)
|
|
||||||
(synopsis #f)
|
(synopsis #f)
|
||||||
(description #f)
|
(description #f)
|
||||||
(license (package-license prosody)))))
|
(license (package-license prosody)))))
|
||||||
|
Loading…
Reference in New Issue
Block a user