feat: package newsraft

pull/1/head
anemofilia 2023-09-21 09:02:21 -03:00
parent 625ffa133a
commit 13c5f83ae2
No known key found for this signature in database
GPG Key ID: 5A8F3D62C87A2B33
1 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,49 @@
(define-module (radix packages syndication)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix build utils)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages curl)
#:use-module (gnu packages man)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module ((guix licenses) #:prefix license:))
;; Thanks to nckx, rekado and lechner for the help :)
(define-public newsraft
(package
(name "newsraft")
(version "0.20")
(source
(origin
(method url-fetch)
(uri (string-append
"https://codeberg.org/grisha/newsraft/archive/newsraft-"
version ".tar.gz"))
(sha256
(base32 "0r3z8b8qwwnz7093nicxxv9cfxzg4i0mznd4vgwgpv16lm6q455w"))))
(build-system gnu-build-system)
(native-inputs (list gnu-make pkg-config scdoc))
(inputs (list curl expat gumbo-parser ncurses sqlite yajl))
(arguments
(list #:tests? #f
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" #$output)
"CFLAGS=-DCURL_WRITEFUNC_ERROR=0xFFFFFFFF")
#:phases
#~(modify-phases %standard-phases
(delete 'configure))))
(home-page "https://codeberg.org/grisha/newsraft")
(synopsis "Newsraft is a ncurses feed reader greatly inspired by newsboat.")
(description "Newsraft is a feed reader with ncurses user interface. It is
greatly inspired by Newsboat and tries to be its lightweight counterpart.")
(license license:isc)))