diff options
author | Nikolay Korotkiy <sikmir@gmail.com> | 2021-12-12 23:09:58 +0300 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-17 09:15:57 +0100 |
commit | 96010ba902b8241b311f3ce2c5cc2bc515db99a7 (patch) | |
tree | abc57af818615344aaff51b3dae848b3dacb1080 /gnu | |
parent | e1be742c594537492997e07a95f681c1921d23ca (diff) | |
download | guix-96010ba902b8241b311f3ce2c5cc2bc515db99a7.tar.gz |
gnu: Add sfeed.
* gnu/packages/suckless.scm (sfeed): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/suckless.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 51757407e1..04803c8fd3 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -47,6 +47,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix download) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix utils) @@ -977,3 +978,42 @@ support.") (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 + (list + #: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 + (list ncurses)) + (home-page "https://git.codemadness.org/sfeed") + (synopsis "RSS and Atom parser") + (description + "@code{sfeed} 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))) |