--- Begin Message ---
Subject: |
[PATCH] gnu: syndication: Add newsraft. |
Date: |
Sun, 03 Nov 2024 23:46:09 +0000 |
Hi,
I've applied some modifications:
- adjustments
- Adjust commit message header and body
- Set author to Luis Guilherme Coelho <lgcoelho@disroot.org>
- Add copyright
- Adjust fields sequence and package indentation
- Remove gnu-make from native inputs
- Adjust synopsis, taken from upstream home page
- Re-indent description, add feature list
- Swap source from tarbal to git checkout (there are tags)
- Update to 0.27
- Enable tests
--8<---------------cut here---------------start------------->8---
--- #<buffer *new*<14>>
+++ #<buffer *new*<13>>
@@ -1,30 +1,47 @@
-;; Thanks to nckx, rekado and lechner for the help :)
(define-public newsraft
(package
(name "newsraft")
- (version "0.21")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "https://codeberg.org/grisha/newsraft/"
- "archive/newsraft-" version ".tar.gz"))
- (sha256
- (base32
- "1dbyg0qy2kw4fjb6hi8ad4jiji9z0wl97aizd3gp68ch1cn7ban2"))))
+ (version "0.27")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://codeberg.org/newsraft/newsraft")
+ (commit (string-append name "-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "170dwv6v9755mdy4w91r4mk6r5d713rxi71hppqws3bsh2g4bmrj"))))
(build-system gnu-build-system)
- (native-inputs (list gnu-make pkg-config scdoc))
- (inputs (list curl expat gumbo-parser ncurses sqlite yajl))
(arguments
- (list #:tests? #f
- #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
- (string-append "PREFIX=" #$output)
- "CFLAGS=-DCURL_WRITEFUNC_ERROR=0xFFFFFFFF")
- #:phases #~(modify-phases %standard-phases
- (delete 'configure))))
+ (list
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" #$output)
+ "CFLAGS=-DCURL_WRITEFUNC_ERROR=0xFFFFFFFF")
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)))) ; no configure
+ (native-inputs
+ (list pkg-config scdoc))
+ (inputs
+ (list curl expat gumbo-parser ncurses sqlite yajl))
(home-page "https://codeberg.org/grisha/newsraft")
- (synopsis
- "Newsraft is a ncurses feed reader greatly inspired by newsboat.")
+ (synopsis "Feed reader for termnial")
(description
- "Newsraft is a feed reader with ncurses user interface. It is
-greatly inspired by Newsboat and tries to be its lightweight counterpart.")
+ "Newsraft is a feed reader with ncurses user interface. It is greatly
+inspired by Newsboat and tries to be its lightweight counterpart.
+
+Features:
+@itemize
+@item parallel downloads
+@item section-based feeds grouping
+@item opening links in any program
+@item viewing news from all feeds with explore mode
+@item automatic updates for feeds and sections
+@item per-feed settings and key bindings
+@item assigning multiple actions to key bindings
+@item processing feeds from command output
+@item text searching by news titles and content
+@item interactive news content viewing
+@end itemize")
(license license:isc)))
\ No newline at end of file
Diff finished. Sun Nov 3 20:36:46 2024
--8<---------------cut here---------------end--------------->8---
Pushed as 2ef5e0cd89 to master.
--
Thanks,
Oleg
signature.asc
Description: PGP signature
--- End Message ---