guix_mirror_bot pushed a commit to branch master
in repository guix.
commit b99ad08cca58344f5cb4609bb6ad23090ebfbe94
Author: Luis Guilherme Coelho <[email protected]>
AuthorDate: Tue Feb 10 09:55:33 2026 -0300
gnu: newsraft: Wrap newsraft with libnotify.
* gnu/packages/syndication.scm (newsraft):
[arguments]: Add ‘wrap-newsraft’ phase.
[inputs]: Add libnotify.
Change-Id: Iebf6d10705af2a2a2f393c3b6d751e2f83c16cc3
Signed-off-by: jgart <[email protected]>
---
gnu/packages/syndication.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index 7d960d8371..d2484e6014 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -253,11 +253,18 @@ file system, and many more features.")
"CFLAGS=-DCURL_WRITEFUNC_ERROR=0xFFFFFFFF")
#:phases
#~(modify-phases %standard-phases
- (delete 'configure)))) ; no configure
+ (delete 'configure) ; no configure
+ (add-after 'install 'wrap-newsraft
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((newsraft (search-input-file outputs "/bin/newsraft"))
+ (libnotify (string-append (assoc-ref inputs "libnotify")
+ "/bin")))
+ (wrap-program newsraft
+ `("PATH" ":" prefix (,libnotify)))))))))
(native-inputs
(list pkg-config scdoc))
(inputs
- (list curl expat gumbo-parser ncurses sqlite yajl))
+ (list curl expat gumbo-parser libnotify ncurses sqlite yajl))
(home-page "https://codeberg.org/grisha/newsraft")
(synopsis "Feed reader for terminal")
(description