gnu: Add bitlbee-purple.
* gnu/packages/messaging.scm (bitlbee-purple): New variable.
This commit is contained in:
parent
6a1788e13a
commit
8e6c9005b4
1 changed files with 23 additions and 0 deletions
|
@ -228,6 +228,29 @@ identi.ca and status.net).")
|
||||||
(home-page "https://www.bitlbee.org/")
|
(home-page "https://www.bitlbee.org/")
|
||||||
(license (list license:gpl2+ license:bsd-2))))
|
(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
|
(define-public bitlbee-discord
|
||||||
(package
|
(package
|
||||||
(name "bitlbee-discord")
|
(name "bitlbee-discord")
|
||||||
|
|
Reference in a new issue