unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: raingloom <raingloom@riseup.net>
To: 41199@debbugs.gnu.org
Subject: [bug#41199] [PATCH] rawdog RSS reader
Date: Tue, 12 May 2020 01:58:11 +0200	[thread overview]
Message-ID: <20200512015811.2ca6bc70@riseup.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

It was rather trivial to package. Just a single dependency.

There is, however, a recommended dependency (PyTidy) that I did not add,
since it doesn't seem to be included in the Nix package either and
doesn't seem to be packaged in Guix. It just tidies up the HTML output,
so it's not all that important.

[-- Attachment #2: 0001-gnu-Add-rawdog.patch --]
[-- Type: text/x-patch, Size: 1807 bytes --]

From baa6940b9035e196eb0b870dc08fdd50212a8708 Mon Sep 17 00:00:00 2001
From: raingloom <raingloom@protonmail.com>
Date: Tue, 12 May 2020 01:50:30 +0200
Subject: [PATCH] gnu: Add rawdog.

* gnu/packages/syndication.scm (rawdog): New variable.
---
 gnu/packages/syndication.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index 5bc3d19a92..a9e69cd8d6 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -30,6 +30,7 @@
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
   #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages python-web)
@@ -169,3 +170,26 @@ file system, and many more features.")
      "Tuir provides a simple terminal viewer for Reddit (Terminal UI for Reddit).")
     (license (list license:expat
                    license:gpl3+))))    ; tuir/packages/praw
+
+(define-public rawdog
+  (package
+    (name "rawdog")
+    (version "2.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://offog.org/files/rawdog-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "18nyg19mwxyqdnykplkqmzb4n27vvrhvp639zai8f81gg9vdbsjp"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2.7))
+    (inputs
+     `(("python2-feedparser" ,python2-feedparser)))
+    (home-page "https://offog.org/code/rawdog/")
+    (synopsis "RSS Aggregator Without Delusions Of Grandeur")
+    (description
+     "An RSS aggregator that produces static HTML pages from feeds")
+    (license license:gpl2)))
-- 
2.26.2


             reply	other threads:[~2020-05-12  2:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 23:58 raingloom [this message]
2020-05-16  9:41 ` bug#41199: [PATCH] rawdog RSS reader 宋文武

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=20200512015811.2ca6bc70@riseup.net \
    --to=raingloom@riseup.net \
    --cc=41199@debbugs.gnu.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).