From debbugs-submit-bounces@debbugs.gnu.org Mon May 11 22:59:59 2020 Received: (at submit) by debbugs.gnu.org; 12 May 2020 02:59:59 +0000 Received: from localhost ([127.0.0.1]:53823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYL91-00040w-0s for submit@debbugs.gnu.org; Mon, 11 May 2020 22:59:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:44408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYL8z-00040n-2e for submit@debbugs.gnu.org; Mon, 11 May 2020 22:59:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYL8y-0006Qz-Nk for guix-patches@gnu.org; Mon, 11 May 2020 22:59:44 -0400 Received: from mx1.riseup.net ([198.252.153.129]:59544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYL8x-0007F4-0D for guix-patches@gnu.org; Mon, 11 May 2020 22:59:44 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 49LjFn4FHnzFctV for ; Mon, 11 May 2020 19:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1589252381; bh=kXE0Tws4bJrjALu6gKEB0bPDXYojV1ucV48yNkvsa5g=; h=Date:From:To:Subject:From; b=GnbI1v7yVEHsPqPQkoRQw8eDiYSc8PYE26Tzye36RL93+46tyeUkTRs+jMcdWPrTH aJCftVq/07mgHZm5AzxFjSJrspJ+DlNDthib061/TBVOZEkowB6Sl2st3QmIlbS4i3 vppUV88dgIWBOybKIatthei7pJFYu2p6oGk87O6E= X-Riseup-User-ID: 22C7B508688A963F07485CD82A6ACE2F5D0AF765862453929511CFA75F011586 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 49LjFm6gsCzJnlK for ; Mon, 11 May 2020 19:59:40 -0700 (PDT) Date: Tue, 12 May 2020 01:58:11 +0200 From: raingloom To: guix-patches@gnu.org Subject: [PATCH] rawdog RSS reader Message-ID: <20200512015811.2ca6bc70@riseup.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/UtrsoFy0y/csRef=bULFtAn" Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/11 22:59:41 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --MP_/UtrsoFy0y/csRef=bULFtAn Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. --MP_/UtrsoFy0y/csRef=bULFtAn Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-Add-rawdog.patch From baa6940b9035e196eb0b870dc08fdd50212a8708 Mon Sep 17 00:00:00 2001 From: raingloom 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 --MP_/UtrsoFy0y/csRef=bULFtAn--