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)
|
(build-system cmake-build-system)
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gettext-minimal" ,gettext-minimal)
|
(append (list gettext-minimal pkg-config)
|
||||||
("pkg-config" ,pkg-config)
|
(if (target-x86?)
|
||||||
,@(if (target-x86?)
|
(list ruby-asciidoctor)
|
||||||
`(("ruby-asciidoctor" ,ruby-asciidoctor))
|
'())))
|
||||||
'())))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list aspell
|
(list aspell
|
||||||
curl
|
curl
|
||||||
|
@ -405,25 +404,25 @@ (define-public weechat
|
||||||
tcl
|
tcl
|
||||||
cjson))
|
cjson))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
(list #:configure-flags
|
||||||
(list "-DENABLE_PHP=OFF"
|
#~(list "-DENABLE_PHP=OFF"
|
||||||
,@(if (target-x86?)
|
#$@(if (target-x86?)
|
||||||
'("-DENABLE_MAN=ON"
|
#~("-DENABLE_MAN=ON"
|
||||||
"-DENABLE_DOC=ON"
|
"-DENABLE_DOC=ON"
|
||||||
"-DENABLE_DOC_INCOMPLETE=ON")
|
"-DENABLE_DOC_INCOMPLETE=ON")
|
||||||
'()))
|
#~()))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
,@(if (target-x86?)
|
#$@(if (target-x86?)
|
||||||
'((add-after 'install 'move-doc
|
#~((add-after 'install 'move-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(doc (assoc-ref outputs "doc"))
|
(doc (assoc-ref outputs "doc"))
|
||||||
(from (string-append out "/share/doc/weechat"))
|
(from (string-append out "/share/doc/weechat"))
|
||||||
(to (string-append doc "/share/doc/weechat")))
|
(to (string-append doc "/share/doc/weechat")))
|
||||||
(mkdir-p (string-append doc "/share/doc"))
|
(mkdir-p (string-append doc "/share/doc"))
|
||||||
(rename-file from to)))))
|
(rename-file from to)))))
|
||||||
'()))))
|
#~()))))
|
||||||
(synopsis "Extensible chat client")
|
(synopsis "Extensible chat client")
|
||||||
(description "WeeChat (Wee Enhanced Environment for Chat) is an
|
(description "WeeChat (Wee Enhanced Environment for Chat) is an
|
||||||
@dfn{Internet Relay Chat} (IRC) client, which is designed to be light and fast.
|
@dfn{Internet Relay Chat} (IRC) client, which is designed to be light and fast.
|
||||||
|
|
Loading…
Reference in a new issue