unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nikolay Korotkiy <sikmir@gmail.com>
To: 52458@debbugs.gnu.org
Cc: Nikolay Korotkiy <sikmir@gmail.com>
Subject: [bug#52458] [PATCH] gnu: Add sfeed.
Date: Sun, 12 Dec 2021 23:09:58 +0300	[thread overview]
Message-ID: <430da133e67f5ca3ffb2565d182fa2460a8c246d.1639339798.git.sikmir@gmail.com> (raw)

* 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





             reply	other threads:[~2021-12-12 20:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-12 20:09 Nikolay Korotkiy [this message]
2021-12-17  8:16 ` bug#52458: [PATCH] gnu: Add sfeed Nicolas Goaziou

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=430da133e67f5ca3ffb2565d182fa2460a8c246d.1639339798.git.sikmir@gmail.com \
    --to=sikmir@gmail.com \
    --cc=52458@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).