mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: weechat: Improve style.
* gnu/packages/irc.scm (weechat)[native-inputs]: Remove label. [arguments]: Use G-expressions. Change-Id: I08e2f4135760e61acbae915f045fb3838d965b25
This commit is contained in:
parent
0cd8edf926
commit
f9c3a6dd2a
1 changed files with 23 additions and 24 deletions
|
@ -383,11 +383,10 @@ (define-public weechat
|
|||
(build-system cmake-build-system)
|
||||
(outputs '("out" "doc"))
|
||||
(native-inputs
|
||||
`(("gettext-minimal" ,gettext-minimal)
|
||||
("pkg-config" ,pkg-config)
|
||||
,@(if (target-x86?)
|
||||
`(("ruby-asciidoctor" ,ruby-asciidoctor))
|
||||
'())))
|
||||
(append (list gettext-minimal pkg-config)
|
||||
(if (target-x86?)
|
||||
(list ruby-asciidoctor)
|
||||
'())))
|
||||
(inputs
|
||||
(list aspell
|
||||
curl
|
||||
|
@ -405,25 +404,25 @@ (define-public weechat
|
|||
tcl
|
||||
cjson))
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
(list "-DENABLE_PHP=OFF"
|
||||
,@(if (target-x86?)
|
||||
'("-DENABLE_MAN=ON"
|
||||
"-DENABLE_DOC=ON"
|
||||
"-DENABLE_DOC_INCOMPLETE=ON")
|
||||
'()))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
,@(if (target-x86?)
|
||||
'((add-after 'install 'move-doc
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(doc (assoc-ref outputs "doc"))
|
||||
(from (string-append out "/share/doc/weechat"))
|
||||
(to (string-append doc "/share/doc/weechat")))
|
||||
(mkdir-p (string-append doc "/share/doc"))
|
||||
(rename-file from to)))))
|
||||
'()))))
|
||||
(list #:configure-flags
|
||||
#~(list "-DENABLE_PHP=OFF"
|
||||
#$@(if (target-x86?)
|
||||
#~("-DENABLE_MAN=ON"
|
||||
"-DENABLE_DOC=ON"
|
||||
"-DENABLE_DOC_INCOMPLETE=ON")
|
||||
#~()))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
#$@(if (target-x86?)
|
||||
#~((add-after 'install 'move-doc
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(doc (assoc-ref outputs "doc"))
|
||||
(from (string-append out "/share/doc/weechat"))
|
||||
(to (string-append doc "/share/doc/weechat")))
|
||||
(mkdir-p (string-append doc "/share/doc"))
|
||||
(rename-file from to)))))
|
||||
#~()))))
|
||||
(synopsis "Extensible chat client")
|
||||
(description "WeeChat (Wee Enhanced Environment for Chat) is an
|
||||
@dfn{Internet Relay Chat} (IRC) client, which is designed to be light and fast.
|
||||
|
|
Loading…
Reference in a new issue