diff options
| author | Igor Goryachev via Guix-patches via <guix-patches@gnu.org> | 2024-08-22 13:21:22 +0300 |
|---|---|---|
| committer | Andrew Tropin <andrew@trop.in> | 2024-09-05 09:29:52 +0400 |
| commit | cb7de07a51f22e3c91eef5c57f47356ebf1500a3 (patch) | |
| tree | 573b7b07e5f2c255bd68e1c18522072dcc301a73 /gnu/packages | |
| parent | 20b1613484f512649f919d89285e981998592497 (diff) | |
gnu: ejabberd: Add inputs and wrap-program phase.
* gnu/packages/messaging.scm (ejabberd): Add inputs and wrap-program phase.
Change-Id: Id8177c54437dca9b98bbd6a237b9a713bc904c84
Signed-off-by: Andrew Tropin <andrew@trop.in>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/messaging.scm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 6355c73fe63..c482cd469eb 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm | |||
| @@ -3659,6 +3659,7 @@ a text snippet), using @code{libphonenumber}.") | |||
| 3659 | (sha256 | 3659 | (sha256 |
| 3660 | (base32 "0d5i9skgfjzs2100k0g99sigc2w61480ysz3va6pmb4nx43100g3")))) | 3660 | (base32 "0d5i9skgfjzs2100k0g99sigc2w61480ysz3va6pmb4nx43100g3")))) |
| 3661 | (build-system rebar-build-system) | 3661 | (build-system rebar-build-system) |
| 3662 | (inputs (list bash-minimal coreutils procps sed)) | ||
| 3662 | (native-inputs | 3663 | (native-inputs |
| 3663 | (list autoconf | 3664 | (list autoconf |
| 3664 | automake | 3665 | automake |
| @@ -3771,7 +3772,18 @@ a text snippet), using @code{libphonenumber}.") | |||
| 3771 | (string-append erts "/bin"))) | 3772 | (string-append erts "/bin"))) |
| 3772 | (chmod (string-append ejabberd | 3773 | (chmod (string-append ejabberd |
| 3773 | "/bin/install_upgrade.escript") #o755) | 3774 | "/bin/install_upgrade.escript") #o755) |
| 3774 | (copy-recursively ejabberd #$output))))))) | 3775 | (copy-recursively ejabberd #$output)))) |
| 3776 | (add-after 'install 'wrap-program | ||
| 3777 | (lambda* (#:key inputs outputs #:allow-other-keys) | ||
| 3778 | (let ((out (assoc-ref outputs "out"))) | ||
| 3779 | (wrap-program (string-append out "/bin/ejabberdctl") | ||
| 3780 | `("PATH" ":" suffix | ||
| 3781 | ,(map (lambda (command) | ||
| 3782 | (dirname | ||
| 3783 | (search-input-file | ||
| 3784 | inputs (string-append "bin/" command)))) | ||
| 3785 | (list "date" "dirname" "grep" | ||
| 3786 | "id" "pgrep" "sed")))))))))) | ||
| 3775 | (synopsis "Robust, Ubiquitous and Massively Scalable Messaging Platform") | 3787 | (synopsis "Robust, Ubiquitous and Massively Scalable Messaging Platform") |
| 3776 | (description "This package provides Ejabberd -- Robust, Ubiquitous and | 3788 | (description "This package provides Ejabberd -- Robust, Ubiquitous and |
| 3777 | Massively Scalable Messaging Platform. It supports XMPP, MQTT and SIP | 3789 | Massively Scalable Messaging Platform. It supports XMPP, MQTT and SIP |
