Subject: [PATCH] gnu: Add morss.
From: Vinicius Monego <[email-masked]>
To: [email-masked]
Cc: Vinicius Monego <[email-masked]>
Date: Mon, 24 Apr 2023 23:22:29 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/syndication.scm (morss): New variable.
---
 gnu/packages/syndication.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index 55c9d871e3..9554b14f0c 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016, 2017, 2019-2023 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2018, 2019, 2021 Tobias Geerinckx-Rice <[email-masked]>
-;;; Copyright © 2020 Vinicius Monego <[email-masked]>
+;;; Copyright © 2020, 2023 Vinicius Monego <[email-masked]>
 ;;; Copyright © 2021 Felix Gruber <[email-masked]>
 ;;; Copyright © 2022 Luis Felipe López Acevedo <[email-masked]>
 ;;; Copyright © 2022 Liliana Marie Prikler <[email-masked]>
@@ -508,6 +508,34 @@ (define-public tuir
     (license (list license:expat
                    license:gpl3+))))    ; tuir/packages/praw
 
+(define-public morss
+  (package
+    (name "morss")
+    (version "20221213.2216")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "morss" version))
+              (sha256
+               (base32
+                "1mvxxhzmraxjnw0vz60zkl4d8xp7lw0fs0z537zfhmj1lj9ap4cp"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Tests are not available in the PyPI release and the Git release
+     ;; is lagging behind.  Additionally, tests use the network.
+     (list #:tests? #f
+           ;; Sanity check fails to find the module 'bs4', but it's available
+           ;; in the python-beautifulsoup4 dependency.
+           #:phases #~(modify-phases %standard-phases
+                        (delete 'sanity-check))))
+    (propagated-inputs (list python-beautifulsoup4 python-chardet
+                             python-dateutil python-lxml))
+    (home-page "https://morss.it/")
+    (synopsis "Get full-text RSS feeds")
+    (description "Morss' goal is to get full-text RSS feeds out of striped
+RSS feeds, commonly available on the internet.  It also makes it possible
+to create RSS feeds for websites that don't provide any.")
+    (license license:agpl3+)))
+
 (define-public syndication-domination
   (let ((revision "1")
         (commit "f64caabd6f46be14fdb92085971a7f2d6fa5e61e"))

base-commit: bcf63e6bf2ed3dec447d5c2fa3bc67b784eacbe1
-- 
2.34.1