unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#52458] [PATCH] gnu: Add sfeed.
@ 2021-12-12 20:09 Nikolay Korotkiy
  2021-12-17  8:16 ` bug#52458: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolay Korotkiy @ 2021-12-12 20:09 UTC (permalink / raw)
  To: 52458; +Cc: Nikolay Korotkiy

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#52458: [PATCH] gnu: Add sfeed.
  2021-12-12 20:09 [bug#52458] [PATCH] gnu: Add sfeed Nikolay Korotkiy
@ 2021-12-17  8:16 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-12-17  8:16 UTC (permalink / raw)
  To: Nikolay Korotkiy; +Cc: 52458-done

Hello,

Nikolay Korotkiy <sikmir@gmail.com> 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-17  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-12 20:09 [bug#52458] [PATCH] gnu: Add sfeed Nikolay Korotkiy
2021-12-17  8:16 ` bug#52458: " Nicolas Goaziou

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).