diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-09-03 18:07:13 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-09-03 23:23:58 +0200 |
commit | 8e6c9005b4be6f9208ccf85c58cc4a7693fc2397 (patch) | |
tree | 42898c8b8b2291f81a233f80b322e4b4ed93edda /gnu/packages | |
parent | 6a1788e13a3cda09b2a46d3bd909d71297f0b64e (diff) | |
download | guix-patches-8e6c9005b4be6f9208ccf85c58cc4a7693fc2397.tar guix-patches-8e6c9005b4be6f9208ccf85c58cc4a7693fc2397.tar.gz |
gnu: Add bitlbee-purple.
* gnu/packages/messaging.scm (bitlbee-purple): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/messaging.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 45b0f3265b..02afcc77fc 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -228,6 +228,29 @@ identi.ca and status.net).") (home-page "https://www.bitlbee.org/") (license (list license:gpl2+ license:bsd-2)))) +(define-public bitlbee-purple + ;; This variant uses libpurple, which provides support for more protocols at + ;; the expense of a much bigger closure. + (package/inherit bitlbee + (name "bitlbee-purple") + (synopsis "IRC to instant messaging gateway (using Pidgin's libpurple)") + (inputs `(("purple" ,pidgin) + ,@(package-inputs bitlbee))) + (arguments + (substitute-keyword-arguments (package-arguments bitlbee) + ((#:phases phases '%standard-phases) + `(modify-phases ,phases + (replace 'configure ;add "--purple=1" + (lambda* (#:key outputs #:allow-other-keys) + (invoke "./configure" + (string-append "--prefix=" + (assoc-ref outputs "out")) + "--otr=1" "--purple=1"))))) + ((#:tests? _ #t) + ;; XXX: Tests fail to link, and ./configure says that it's "supported + ;; on a best-effort basis" anyway. + #f))))) + (define-public bitlbee-discord (package (name "bitlbee-discord") |