summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-31 08:38:33 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:23:31 +0100
commit578911c3cb3f2b024c51d3405fa74a65184e7837 (patch)
tree046578c39154807bc002d103cc4f5e889cab4f8f /gnu
parent8ec85a9ddfa5396c148d6555a1513d1b4872d38b (diff)
gnu: weechat-wee-slack: Update to 2.11.0.
* gnu/packages/messaging.scm (weechat-wee-slack): Update to 2.11.0. [build-system]: Switch to pyproject-build-system. [arguments]: Improve style, use G-expressions. <#:phases>: Remove 'check phase replacement. [native-inputs]: Add python-setuptools. Change-Id: I60d07bfff4e7ad07ffd90ea226275569cd08748f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/messaging.scm51
1 files changed, 22 insertions, 29 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index c46cd87963d..85796461562 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3269,7 +3269,7 @@ a number of clients.")
(define-public weechat-wee-slack
(package
(name "weechat-wee-slack")
- (version "2.10.2")
+ (version "2.11.0")
(source
(origin
(method git-fetch)
@@ -3278,35 +3278,28 @@ a number of clients.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32
- "0klvvrrvdjh3wph1cdqd4x3nj170v1wirmr2mm91q3sqs5lf3lqj"))))
- (build-system python-build-system)
+ (base32 "0kz0cskfqmf3wz71rvxrkiz40j7d084mawspzv72j9995v5by0y5"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (delete 'build)
- (replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
- ;; Augment sys.path so that dependencies are found.
- (substitute* "wee_slack.py"
- (("import sys\n" all)
- (apply string-append
- all
- (map (lambda (path)
- (string-append "sys.path.append('" path "')\n"))
- (string-split (getenv "GUIX_PYTHONPATH") #\:)))))
- ;; Install script.
- (install-file "wee_slack.py"
- (string-append (assoc-ref outputs "out")
- "/share/weechat/python"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest")))))))
- (inputs
- (list python-websocket-client))
- (native-inputs
- (list python-mock python-pytest))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'build)
+ (replace 'install
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Augment sys.path so that dependencies are found.
+ (substitute* "wee_slack.py"
+ (("import sys\n" all)
+ (apply string-append all
+ (map (lambda (path)
+ (string-append "sys.path.append('" path "')\n"))
+ (string-split (getenv "GUIX_PYTHONPATH") #\:)))))
+ ;; Install script.
+ (install-file "wee_slack.py"
+ (string-append #$output
+ "/share/weechat/python")))))))
+ (inputs (list python-websocket-client))
+ (native-inputs (list python-mock python-pytest python-setuptools))
(home-page "https://github.com/wee-slack/wee-slack")
(synopsis "Weechat Slack script")
(description "@code{weechat-wee-slack} is a WeeChat native client for