diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-12-01 15:43:04 +0800 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-12-01 16:03:57 +0800 |
commit | f9c3a6dd2a50ae5b0d02b88054d6c61e4b552e07 (patch) | |
tree | 28f124054fe022e0f7ef1b7365bc9b170b0ac6fd /gnu/packages/irc.scm | |
parent | 0cd8edf926a426d51e55234804d033c02e2adaa1 (diff) |
gnu: weechat: Improve style.
* gnu/packages/irc.scm (weechat)[native-inputs]: Remove label.
[arguments]: Use G-expressions.
Change-Id: I08e2f4135760e61acbae915f045fb3838d965b25
Diffstat (limited to 'gnu/packages/irc.scm')
-rw-r--r-- | gnu/packages/irc.scm | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index ac69943ee9..f8623c3748 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -383,11 +383,10 @@ Conferencing} and @acronym{ICB, Internet Citizen's Band}.") (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 @@ Conferencing} and @acronym{ICB, Internet Citizen's Band}.") 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. |