From: lgcoelho--- via Guix-patches via <guix-patches@gnu.org>
To: 68063@debbugs.gnu.org
Subject: [bug#68063] [PATCH] gnu: syndication: Add newsraft.
Date: Wed, 27 Dec 2023 17:14:43 +0000 [thread overview]
Message-ID: <45e980f94aaeb3b045169ad0192029ce@disroot.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 101 bytes --]
This patch adds newsraft, a feed reader greatly inspired by newsboat, to
(gnu packages syndication).
[-- Attachment #1.2: Type: text/html, Size: 287 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-syndication-Add-newsraft.patch --]
[-- Type: text/x-diff; name=0001-gnu-syndication-Add-newsraft.patch, Size: 2392 bytes --]
From 681472429c1f325aaa004ebbedd359df2676e344 Mon Sep 17 00:00:00 2001
From: Luis Guilherme Coelho <lgcoelho@disroot.org>
Date: Wed, 27 Dec 2023 14:12:06 -0300
Subject: [PATCH] gnu: syndication: Add newsraft
---
gnu/packages/syndication.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index a9e5b80bbf..411bf57a0f 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -50,6 +50,7 @@ (define-module (gnu packages syndication)
#:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
#:use-module (gnu packages kde-frameworks)
+ #:use-module (gnu packages man)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pretty-print)
@@ -335,6 +336,37 @@ (define-public newsboat
(license (list license:gpl2+ ; filter/*
license:expat)))) ; everything else
+;; 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"))))
+ (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))))
+ (home-page "https://codeberg.org/grisha/newsraft")
+ (synopsis
+ "Newsraft is a ncurses feed reader greatly inspired by newsboat.")
+ (description
+ "Newsraft is a feed reader with ncurses user interface. It is
+greatly inspired by Newsboat and tries to be its lightweight counterpart.")
+ (license license:isc)))
+
(define-public liferea
(package
(name "liferea")
--
2.41.0
reply other threads:[~2023-12-27 17:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45e980f94aaeb3b045169ad0192029ce@disroot.org \
--to=guix-patches@gnu.org \
--cc=68063@debbugs.gnu.org \
--cc=lgcoelho@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).