aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/syndication.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/syndication.scm')
-rw-r--r--gnu/packages/syndication.scm76
1 files changed, 47 insertions, 29 deletions
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index b182e13395..086b132b79 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -1,4 +1,5 @@
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
@@ -28,8 +29,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages ruby)
#:use-module (gnu packages xml)
- #:use-module (gnu packages web)
- #:use-module (srfi srfi-1))
+ #:use-module (gnu packages web))
(define-public newsbeuter
(package
@@ -64,7 +64,7 @@
("ruby" ,ruby))) ; for tests
(inputs
`(("curl" ,curl)
- ("json-c" ,json-c)
+ ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
("ncurses" ,ncurses)
("stfl" ,stfl)
("sqlite" ,sqlite)
@@ -76,37 +76,55 @@ console. It supports OPML import/exports, HTML rendering, podcast (podbeuter),
offline reading, searching and storing articles to your filesystem, and many
more features. Its user interface is coherent, easy to use, and might look
common to users of @command{mutt} and @command{slrn}.")
- (license (list license:gpl2+ ; filter/*
- license:x11))))
+ (license (list license:gpl2+ ; filter/*
+ license:expat)))) ; everything else
(define-public newsboat
(package
- (inherit newsbeuter)
(name "newsboat")
- (version "2.10.1")
+ (version "2.10.2")
(source
- (origin
- (method url-fetch)
- (uri (string-append "https://newsboat.org/releases/" version
- "/newsboat-" version ".tar.xz"))
- (sha256
- (base32
- "1xgqkhpjbq916g9hkaxs0s2fz8bg103pzjx75ziq5ba688l9imj4"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://newsboat.org/releases/" version
+ "/newsboat-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1x4nxx1kvmrcm8jy73dvg56h4z15y3sach2vr13cw8rsbi7v99px"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("gettext" ,gettext-minimal)
+ ("pkg-config" ,pkg-config)
+ ;; For building documentation.
+ ("asciidoc" ,asciidoc)))
+ (inputs
+ `(("curl" ,curl)
+ ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
+ ("libxml2" ,libxml2)
+ ("ncurses" ,ncurses)
+ ("stfl" ,stfl)
+ ("sqlite" ,sqlite)))
(arguments
- '(#:phases (modify-phases %standard-phases
- (delete 'configure) ; no configure
- (add-after 'build 'build-documentation
- (lambda _ (zero? (system* "make" "doc")))))
- #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))
- ;; see https://github.com/newsboat/newsboat/issues/43
- "WARNFLAGS=-Wno-sign-compare")
+ '(#:phases
+ (modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (add-after 'build 'build-documentation
+ (lambda _
+ (zero? (system* "make" "doc")))))
+ #:make-flags
+ (list (string-append "prefix=" (assoc-ref %outputs "out")))
#:test-target "test"))
- (native-inputs
- `(("asciidoc" ,asciidoc)
- ,@(alist-delete "ruby" (package-native-inputs newsbeuter))))
(home-page "https://newsboat.org/")
- (description "Newsboat is a fork of Newsbeuter, an RSS/Atom feed reader for
-the text console. It supports OPML import/exports, HTML rendering, podcast
-(podboat), offline reading, searching and storing articles to your filesystem,
-and many more features. Its user interface is coherent, easy to use, and might
-look common to users of @command{mutt} and @command{slrn}.")))
+ (synopsis "Text-mode RSS and Atom feed reader with podcast support")
+ (description "Newsboat is a feed reader for @dfn{RSS} and @dfn{Atom}, XML
+formats widely used to transmit, publish, and syndicate news or blog articles.
+It's designed for use on text terminals, and to have a coherent and easy-to-use
+interface that might look familiar to @command{mutt} or @command{slrn} users.
+
+Newsboat supports OPML import/exports, HTML rendering, podcasts (with
+@command{podboat}), off-line reading, searching and storing articles to your
+file system, and many more features.
+
+It started life as a fork of the currently unmaintained Newsbeuter.")
+ (license (list license:gpl2+ ; filter/*
+ license:expat)))) ; everything else