* [bug#68063] [PATCH] gnu: syndication: Add newsraft.
@ 2023-12-27 17:14 lgcoelho--- via Guix-patches via
0 siblings, 0 replies; only message in thread
From: lgcoelho--- via Guix-patches via @ 2023-12-27 17:14 UTC (permalink / raw)
To: 68063
[-- 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-27 17:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-27 17:14 [bug#68063] [PATCH] gnu: syndication: Add newsraft lgcoelho--- via Guix-patches via
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).