mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: Add sfeed.
* gnu/packages/suckless.scm (sfeed): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
e1be742c59
commit
96010ba902
1 changed files with 40 additions and 0 deletions
|
@ -47,6 +47,7 @@ (define-module (gnu packages suckless)
|
|||
#: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 @@ (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
|
||||
(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)))
|
||||
|
|
Loading…
Reference in a new issue