Subject: bug#52458: closed (Re: [bug#52458] [PATCH] gnu: Add sfeed.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 17 Dec 2021 08:18:02 +0000

Your bug report

#52458: [PATCH] gnu: Add sfeed.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
52458: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52458
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#52458] [PATCH] gnu: Add sfeed.
From: Nicolas Goaziou <[email-masked]>
To: Nikolay Korotkiy <[email-masked]>
Cc: [email-masked]
Date: Fri, 17 Dec 2021 09:16:55 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Nikolay Korotkiy <[email-masked]> writes:

> * gnu/packages/suckless.scm (sfeed): New variable.

I tweaked description (two spaces after sentences), used the new package
style, and applied your patch.

Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add sfeed.
From: Nikolay Korotkiy <[email-masked]>
To: [email-masked]
Cc: Nikolay Korotkiy <[email-masked]>
Date: Sun, 12 Dec 2021 23:09:58 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/suckless.scm (sfeed): New variable.
---
 gnu/packages/suckless.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index e22880e78e..97232c7fa8 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -992,3 +992,41 @@ (define-public sfm
     (synopsis "Simple file manager")
     (description "sfm is a simple file manager.")
     (license license:isc)))
+
+(define-public sfeed
+  (package
+    (name "sfeed")
+    (version "1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "git://git.codemadness.org/sfeed")
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1b0l6f9aymk54ncc2kxavhg4flcqv7d4mpkpw8ljx7mzg0g4ygyk"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ;no check target
+       #:make-flags
+       (list (string-append "CC=" ,(cc-for-target))
+             (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-ncurses
+           (lambda _
+             (substitute* "Makefile"
+               (("-lcurses") "-lncurses"))))
+         (delete 'configure)))) ;no configure script
+    (inputs
+     `(("ncurses" ,ncurses)))
+    (home-page "https://git.codemadness.org/sfeed")
+    (synopsis "RSS and Atom parser")
+    (description
+     "It converts RSS or Atom feeds from XML to a TAB-separated file.
+There are formatting programs included to convert this TAB-separated format to
+various other formats. There are also some programs and scripts included to
+import and export OPML and to fetch, filter, merge and order feed items.")
+    (license license:isc)))
-- 
2.34.0