2018-09-21 02:19:42 -04:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2023-01-12 10:06:28 -05:00
|
|
|
;;; Copyright © 2016, 2017, 2019-2023 Efraim Flashner <efraim@flashner.co.il>
|
2021-10-03 19:03:19 -04:00
|
|
|
;;; Copyright © 2018, 2019, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2023-04-24 07:14:32 -04:00
|
|
|
;;; Copyright © 2020, 2023 Vinicius Monego <monego@posteo.net>
|
2021-09-06 02:07:22 -04:00
|
|
|
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
|
2022-04-23 15:14:43 -04:00
|
|
|
;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
|
2022-09-17 12:35:47 -04:00
|
|
|
;;; Copyright © 2022 Liliana Marie Prikler <liliana.prikler@gmail.com>
|
2023-04-17 14:46:48 -04:00
|
|
|
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2016-11-10 03:22:47 -05:00
|
|
|
;;;
|
2018-09-21 02:19:42 -04:00
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
2016-11-10 03:22:47 -05:00
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages syndication)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (guix download)
|
2021-01-06 11:38:50 -05:00
|
|
|
#:use-module (guix git-download)
|
2016-11-10 03:22:47 -05:00
|
|
|
#:use-module (guix packages)
|
2021-03-10 07:54:40 -05:00
|
|
|
#:use-module (guix utils)
|
2022-09-15 16:16:55 -04:00
|
|
|
#:use-module (guix gexp)
|
2020-07-18 17:10:32 -04:00
|
|
|
#:use-module (guix build-system cargo)
|
2020-05-28 21:30:30 -04:00
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2016-11-10 03:22:47 -05:00
|
|
|
#:use-module (guix build-system gnu)
|
2021-03-05 18:05:46 -05:00
|
|
|
#:use-module (guix build-system meson)
|
2019-03-04 13:58:34 -05:00
|
|
|
#:use-module (guix build-system python)
|
2017-08-18 16:33:04 -04:00
|
|
|
#:use-module (gnu packages)
|
2021-01-06 11:38:50 -05:00
|
|
|
#:use-module (gnu packages autotools)
|
|
|
|
#:use-module (gnu packages base)
|
2022-09-15 16:16:55 -04:00
|
|
|
#:use-module (gnu packages bash)
|
2022-09-17 16:03:33 -04:00
|
|
|
#:use-module (gnu packages build-tools)
|
2019-03-04 13:58:34 -05:00
|
|
|
#:use-module (gnu packages check)
|
2022-09-17 16:03:33 -04:00
|
|
|
#:use-module (gnu packages cmake)
|
2024-01-21 12:49:58 -05:00
|
|
|
#:use-module (gnu packages crates-crypto)
|
2020-07-18 17:10:32 -04:00
|
|
|
#:use-module (gnu packages crates-io)
|
2016-11-10 03:22:47 -05:00
|
|
|
#:use-module (gnu packages curl)
|
2021-03-10 07:54:40 -05:00
|
|
|
#:use-module (gnu packages freedesktop)
|
2016-11-10 03:22:47 -05:00
|
|
|
#:use-module (gnu packages gettext)
|
2020-05-28 21:30:30 -04:00
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
#:use-module (gnu packages gnome)
|
|
|
|
#:use-module (gnu packages gstreamer)
|
|
|
|
#:use-module (gnu packages gtk)
|
2021-02-28 22:34:31 -05:00
|
|
|
#:use-module (gnu packages kde-frameworks)
|
2016-11-10 03:22:47 -05:00
|
|
|
#:use-module (gnu packages ncurses)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2022-09-17 16:03:33 -04:00
|
|
|
#:use-module (gnu packages pretty-print)
|
2020-05-11 19:50:30 -04:00
|
|
|
#:use-module (gnu packages python)
|
2019-03-04 13:58:34 -05:00
|
|
|
#:use-module (gnu packages python-check)
|
|
|
|
#:use-module (gnu packages python-xyz)
|
|
|
|
#:use-module (gnu packages python-web)
|
2021-02-28 22:34:31 -05:00
|
|
|
#:use-module (gnu packages qt)
|
2020-07-18 17:10:32 -04:00
|
|
|
#:use-module (gnu packages ruby)
|
2021-06-10 16:22:35 -04:00
|
|
|
#:use-module (gnu packages rust)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 15:47:05 -05:00
|
|
|
#:use-module (gnu packages sqlite)
|
2021-03-05 18:05:46 -05:00
|
|
|
#:use-module (gnu packages time)
|
2020-07-18 17:10:32 -04:00
|
|
|
#:use-module (gnu packages tls)
|
2021-03-05 18:05:46 -05:00
|
|
|
#:use-module (gnu packages video)
|
2018-01-10 18:54:22 -05:00
|
|
|
#:use-module (gnu packages web)
|
2020-05-28 21:30:30 -04:00
|
|
|
#:use-module (gnu packages webkit)
|
2020-07-18 17:10:32 -04:00
|
|
|
#:use-module (gnu packages xml)
|
2021-05-13 00:19:02 -04:00
|
|
|
#:use-module (gnu packages xorg)
|
2020-07-18 17:10:32 -04:00
|
|
|
#:use-module (srfi srfi-1))
|
2017-10-29 16:00:58 -04:00
|
|
|
|
2021-05-13 00:19:02 -04:00
|
|
|
(define-public cawbird
|
|
|
|
(package
|
|
|
|
(name "cawbird")
|
2021-10-03 19:03:19 -04:00
|
|
|
(version "1.4.2")
|
2021-05-13 00:19:02 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/IBBoard/cawbird")
|
|
|
|
(commit (string-append "v"version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
2021-10-03 19:03:19 -04:00
|
|
|
(base32 "17575cp5qcgsqf37y3xqg3vr6l2j8bbbkmy2c1l185rxghfacida"))))
|
2021-05-13 00:19:02 -04:00
|
|
|
(build-system meson-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:glib-or-gtk? #t
|
|
|
|
#:configure-flags
|
|
|
|
;; Cawbirds's default key and secret for OAuth process with twitter.
|
|
|
|
(list
|
|
|
|
"-Dconsumer_key_base64=VmY5dG9yRFcyWk93MzJEZmhVdEk5Y3NMOA=="
|
|
|
|
"-Dconsumer_secret_base64=MThCRXIxbWRESDQ2Y0podzVtVU13SGUyVGlCRXhPb3BFRHhGYlB6ZkpybG5GdXZaSjI=")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
(lambda _
|
|
|
|
;; These tests require networking.
|
|
|
|
(substitute* "tests/meson.build"
|
|
|
|
(("[ \t]*.*avatardownload.*$") "")
|
|
|
|
(("[ \t]*.*filters.*$") "")
|
|
|
|
(("[ \t]*.*friends.*$") "")
|
|
|
|
(("[ \t]*.*inlinemediadownloader.*$") "")
|
|
|
|
(("[ \t]*.*tweetparsing.*$") "")
|
|
|
|
(("[ \t]*.*usercounter.*$") ""))))
|
|
|
|
(delete 'check)
|
|
|
|
(add-after 'install 'custom-check
|
|
|
|
(lambda* (#:key outputs tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
;; Tests require a running X server.
|
|
|
|
(system "Xvfb :1 +extension GLX &")
|
|
|
|
(setenv "DISPLAY" ":1")
|
|
|
|
;; Tests write to $HOME.
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
;; Tests look for gsettings-schemas installed by the package.
|
|
|
|
(setenv "XDG_DATA_DIRS"
|
|
|
|
(string-append (getenv "XDG_DATA_DIRS")
|
|
|
|
":" (assoc-ref outputs "out") "/share"))
|
2021-10-03 19:03:19 -04:00
|
|
|
(invoke "meson" "test"))))
|
2021-05-13 00:19:02 -04:00
|
|
|
(add-after 'glib-or-gtk-wrap 'wrap-paths
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin/"))
|
|
|
|
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
|
|
|
|
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
|
|
|
|
(wrap-program (string-append bin "cawbird")
|
|
|
|
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
|
2021-10-03 19:03:19 -04:00
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
|
2021-05-13 00:19:02 -04:00
|
|
|
(native-inputs
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
("glib:bin" ,glib "bin")
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
("gtk+:bin" ,gtk+ "bin")
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("vala" ,vala)
|
|
|
|
("xmllint" ,libxml2)
|
|
|
|
("xorg-server" ,xorg-server-for-tests)))
|
|
|
|
(inputs
|
|
|
|
`(("glib" ,glib)
|
|
|
|
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
|
|
|
|
("gspell" ,gspell)
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
("gst-libav" ,gst-libav)
|
|
|
|
("gst-plugins-bad" ,gst-plugins-bad)
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
|
|
|
("gst-plugins-good" ,gst-plugins-good)
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
("json-glib" ,json-glib)
|
|
|
|
("liboauth" ,liboauth)
|
|
|
|
("libsoup" ,libsoup)
|
|
|
|
("rest" ,rest)
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
("x11" ,libx11)))
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list dconf))
|
2021-05-13 00:19:02 -04:00
|
|
|
(synopsis "Client for Twitter")
|
|
|
|
(description "Cawbird is a Twitter client built with GTK and Vala.
|
|
|
|
It supports all features except non-mention notifications, polls, threads and
|
|
|
|
cards.")
|
|
|
|
(home-page "https://ibboard.co.uk/cawbird/")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2021-03-10 07:54:40 -05:00
|
|
|
(define-public giara
|
|
|
|
(package
|
|
|
|
(name "giara")
|
2022-11-17 05:54:58 -05:00
|
|
|
(version "1.0.1")
|
2021-03-10 07:54:40 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://gitlab.gnome.org/World/giara")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
2022-11-17 05:54:58 -05:00
|
|
|
(base32 "00vmfghp9g8yzn2d1xjawz5a8bdwn1jl1k24mjaf4vlvdy4sg9l4"))))
|
2021-03-10 07:54:40 -05:00
|
|
|
(build-system meson-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:glib-or-gtk? #t
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2022-11-17 05:54:58 -05:00
|
|
|
(add-after 'unpack 'skip-icon-cache
|
|
|
|
(lambda _
|
|
|
|
(substitute* "meson_post_install.py"
|
|
|
|
(("gtk-update-icon-cache") "true"))))
|
2021-03-10 07:54:40 -05:00
|
|
|
(add-after 'glib-or-gtk-wrap 'wrap-paths
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin/"))
|
|
|
|
(lib (string-append out "/lib/python"
|
|
|
|
,(version-major+minor
|
|
|
|
(package-version python))
|
|
|
|
"/site-packages")))
|
|
|
|
(wrap-program (string-append bin "giara")
|
2021-11-22 01:17:18 -05:00
|
|
|
`("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH") ,lib))
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))))))))))
|
2021-03-10 07:54:40 -05:00
|
|
|
(native-inputs
|
2022-11-17 06:04:59 -05:00
|
|
|
(list gettext-minimal
|
|
|
|
(list glib "bin")
|
|
|
|
gobject-introspection
|
|
|
|
(list gtk "bin")
|
|
|
|
pkg-config))
|
2021-03-10 07:54:40 -05:00
|
|
|
(inputs
|
2024-04-07 04:54:21 -04:00
|
|
|
(list blueprint-compiler-0.4
|
2022-11-17 06:04:59 -05:00
|
|
|
glib
|
|
|
|
gtk
|
|
|
|
gtksourceview
|
|
|
|
libadwaita
|
|
|
|
python
|
|
|
|
python-beautifulsoup4
|
|
|
|
python-dateutil
|
|
|
|
python-mistune-next
|
|
|
|
python-pillow
|
|
|
|
python-praw
|
|
|
|
python-pygobject
|
|
|
|
python-requests))
|
2021-03-10 07:54:40 -05:00
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list dconf))
|
2021-03-10 07:54:40 -05:00
|
|
|
(synopsis "Client for Reddit")
|
2022-11-17 05:54:58 -05:00
|
|
|
(description "Giara is a reddit app, built with Python, GTK4 and libadwaita.")
|
2021-03-10 07:54:40 -05:00
|
|
|
(home-page "https://giara.gabmus.org/")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2017-10-29 16:00:58 -04:00
|
|
|
(define-public newsboat
|
|
|
|
(package
|
|
|
|
(name "newsboat")
|
2023-12-27 01:45:29 -05:00
|
|
|
(version "2.34")
|
2017-10-29 16:00:58 -04:00
|
|
|
(source
|
2018-01-03 19:46:17 -05:00
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://newsboat.org/releases/" version
|
|
|
|
"/newsboat-" version ".tar.xz"))
|
|
|
|
(sha256
|
2023-12-27 01:45:29 -05:00
|
|
|
(base32 "0kj3qbm3881fkrplvgnng4747bh29a8f2hhm7a2gc1n9n0wvbmvk"))))
|
2020-07-18 17:10:32 -04:00
|
|
|
(build-system cargo-build-system)
|
2018-01-03 19:46:17 -05:00
|
|
|
(native-inputs
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2020-07-18 17:10:32 -04:00
|
|
|
("openssl" ,openssl)
|
2018-01-03 19:46:17 -05:00
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
;; For building documentation.
|
2023-06-29 06:00:18 -04:00
|
|
|
,@(if (supported-package? ruby-asciidoctor)
|
2022-11-06 04:14:58 -05:00
|
|
|
`(("asciidoctor" ,ruby-asciidoctor))
|
|
|
|
`())))
|
2018-01-03 19:46:17 -05:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list curl
|
|
|
|
json-c
|
|
|
|
libxml2
|
|
|
|
ncurses
|
|
|
|
stfl
|
|
|
|
sqlite))
|
2017-10-29 16:00:58 -04:00
|
|
|
(arguments
|
2020-07-18 17:10:32 -04:00
|
|
|
`(#:modules ((guix build cargo-build-system)
|
|
|
|
(guix build utils)
|
|
|
|
((guix build gnu-build-system) #:prefix gnu:))
|
2021-03-14 13:51:33 -04:00
|
|
|
#:install-source? #f
|
2020-07-18 17:10:32 -04:00
|
|
|
#:cargo-inputs
|
|
|
|
(("rust-backtrace" ,rust-backtrace-0.3)
|
2023-04-16 06:07:21 -04:00
|
|
|
("rust-bitflags" ,rust-bitflags-2)
|
2020-07-18 17:10:32 -04:00
|
|
|
("rust-chrono" ,rust-chrono-0.4)
|
|
|
|
("rust-curl-sys" ,rust-curl-sys-0.4)
|
2021-07-08 03:53:45 -04:00
|
|
|
("rust-cxx" ,rust-cxx-1)
|
2022-09-28 09:38:27 -04:00
|
|
|
("rust-cxx-build" ,rust-cxx-build-1)
|
2023-10-01 14:09:36 -04:00
|
|
|
("rust-fastrand" ,rust-fastrand-2)
|
2021-07-08 03:53:45 -04:00
|
|
|
("rust-gettext-rs" ,rust-gettext-rs-0.7)
|
2023-04-16 06:07:21 -04:00
|
|
|
("rust-lexopt" ,rust-lexopt-0.3)
|
2020-07-18 17:10:32 -04:00
|
|
|
("rust-libc" ,rust-libc-0.2)
|
2022-01-13 11:41:37 -05:00
|
|
|
("rust-md5" ,rust-md5-0.7)
|
2021-02-05 16:54:20 -05:00
|
|
|
("rust-natord" ,rust-natord-1)
|
2021-10-10 05:29:16 -04:00
|
|
|
("rust-nom" ,rust-nom-7)
|
2021-06-10 16:22:35 -04:00
|
|
|
("rust-percent-encoding" ,rust-percent-encoding-2)
|
2020-09-14 14:04:57 -04:00
|
|
|
("rust-url" ,rust-url-2)
|
2021-06-10 16:22:35 -04:00
|
|
|
("rust-unicode-width" ,rust-unicode-width-0.1)
|
|
|
|
("rust-xdg" ,rust-xdg-2))
|
2020-07-18 17:10:32 -04:00
|
|
|
#:cargo-development-inputs
|
2022-09-28 09:38:27 -04:00
|
|
|
(("rust-tempfile" ,rust-tempfile-3)
|
2021-10-10 05:29:16 -04:00
|
|
|
("rust-proptest" ,rust-proptest-1)
|
2020-07-18 17:10:32 -04:00
|
|
|
("rust-section-testing" ,rust-section-testing-0.0))
|
|
|
|
#:phases
|
2018-01-03 19:46:17 -05:00
|
|
|
(modify-phases %standard-phases
|
2022-11-06 04:14:58 -05:00
|
|
|
,@(if (not (assoc-ref inputs "asciidoctor"))
|
|
|
|
`((add-after 'unpack 'dont-use-asciidoctor
|
|
|
|
(lambda _
|
|
|
|
(substitute* "config.sh"
|
|
|
|
((".*asciidoctor.*") ""))
|
|
|
|
(substitute* "Makefile"
|
|
|
|
(("^doc:.*") "doc:\n")
|
|
|
|
(("install-podboat install-docs") "install-podboat")))))
|
|
|
|
'())
|
2023-11-19 03:51:44 -05:00
|
|
|
(add-after 'unpack 'pre-build
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(setenv "CXX" ,(cxx-for-target))
|
|
|
|
(setenv "CXX_FOR_BUILD" (which "g++"))
|
|
|
|
(substitute* "config.sh"
|
|
|
|
(("if curl-config")
|
|
|
|
(string-append
|
|
|
|
"if " (search-input-file inputs "/bin/curl-config"))))))
|
2020-07-18 17:10:32 -04:00
|
|
|
(add-after 'configure 'dont-vendor-self
|
|
|
|
(lambda* (#:key vendor-dir #:allow-other-keys)
|
|
|
|
;; Don't keep the whole tarball in the vendor directory
|
|
|
|
(delete-file-recursively
|
2021-09-19 12:52:11 -04:00
|
|
|
(string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))))
|
2020-10-13 02:28:30 -04:00
|
|
|
(add-after 'unpack 'patch-source
|
2021-09-19 12:52:11 -04:00
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2020-10-13 02:28:30 -04:00
|
|
|
(substitute* "Makefile"
|
2021-09-19 12:52:11 -04:00
|
|
|
(("Cargo.lock") "")
|
|
|
|
;; Replace the prefix in the Makefile.
|
|
|
|
(("/usr/local") (assoc-ref outputs "out")))))
|
2020-07-18 17:10:32 -04:00
|
|
|
(replace 'build
|
2021-09-19 12:52:11 -04:00
|
|
|
(assoc-ref gnu:%standard-phases 'build))
|
2020-07-18 17:10:32 -04:00
|
|
|
(replace 'check
|
2023-11-19 03:52:29 -05:00
|
|
|
(lambda* (#:key tests? #:allow-other-keys #:rest args)
|
|
|
|
(when tests?
|
|
|
|
((assoc-ref gnu:%standard-phases 'check)
|
|
|
|
#:test-target "test"))))
|
2020-07-18 17:10:32 -04:00
|
|
|
(replace 'install
|
2021-09-19 12:52:11 -04:00
|
|
|
(assoc-ref gnu:%standard-phases 'install)))))
|
2018-03-25 16:57:19 -04:00
|
|
|
(native-search-paths
|
|
|
|
;; Newsboat respects CURL_CA_BUNDLE.
|
2022-03-18 10:28:47 -04:00
|
|
|
(list (search-path-specification
|
|
|
|
(variable "CURL_CA_BUNDLE")
|
|
|
|
(file-type 'regular)
|
|
|
|
(separator #f) ;single entry
|
|
|
|
(files '("etc/ssl/certs/ca-certificates.crt")))))
|
2017-10-29 16:00:58 -04:00
|
|
|
(home-page "https://newsboat.org/")
|
2018-01-03 19:46:17 -05:00
|
|
|
(synopsis "Text-mode RSS and Atom feed reader with podcast support")
|
|
|
|
(description "Newsboat is a feed reader for @dfn{RSS} and @dfn{Atom}, XML
|
|
|
|
formats widely used to transmit, publish, and syndicate news or blog articles.
|
|
|
|
It's designed for use on text terminals, and to have a coherent and easy-to-use
|
|
|
|
interface that might look familiar to @command{mutt} or @command{slrn} users.
|
|
|
|
|
|
|
|
Newsboat supports OPML import/exports, HTML rendering, podcasts (with
|
|
|
|
@command{podboat}), off-line reading, searching and storing articles to your
|
gnu: Remove more packages deprecated for over almost a year.
* gnu/packages/games.scm (armagetron-advanced)
(cataclysm-dark-days-ahead, gnubackgammon, l-abbaye-des-morts)
(the-battle-for-wesnoth, the-battle-for-wesnoth-server)
(project-starfighter, kiki-the-nano-bot, fish-fillets-ng)
(dungeon-crawl-stone-soup): Let's forget this ever happened.
* gnu/packages/emacs-xyz.scm (geiser, paredit, git-modes/old-name)
(magit, magit-svn, haskell-mode, emacs-emms-player-mpv, bbdb)
(ert-runner, groovy-emacs-modes): Remove variable.
* gnu/packages/engineering.scm (emacs-emms-player-simple-mpv)
(emacs-evil-ediff, emacs-evil-mu4e, emacs-wgrep-helm, ao): Likewise.
* gnu/packages/finance.scm (monero-core): Likewise.
* gnu/packages/gnome.scm (dungeon-crawl-stone-soup-tiles)
(tales-of-maj-eyal, battle-tanks, the-legend-of-edgar)
(gnome-tweak-tool): Likewise.
* gnu/packages/gnuzilla.scm (conkeror): Likewise.
* gnu/packages/guile-xyz.scm (mcron2): Likewise.
* gnu/packages/image.scm (pngcrunch): Likewise.
* gnu/packages/linux.scm (eudev-with-hwdb): Likewise.
* gnu/packages/maths.scm (qtoctave): Likewise.
* gnu/packages/package-management.scm (guile2.0-guix): Likewise.
* gnu/packages/php.scm (php-with-bcmath): Likewise.
* gnu/packages/python-xyz.scm (python-kivy-next, python2-kivy-next):
Likewise.
* gnu/packages/video.scm (livestreamer): Likewise.
* gnu/packages/virtualization.scm (lookingglass): Likewise.
* gnu/packages/vulkan.scm (vulkan-icd-loader): Likewise.
* gnu/packages/syndication.scm (newsbeuter): Likewise.
(newsboat)[description]: Remove historical footnote.
2020-03-29 09:55:33 -04:00
|
|
|
file system, and many more features.")
|
2022-01-25 03:00:34 -05:00
|
|
|
(properties '((release-monitoring-url . "https://newsboat.org/news.atom")))
|
2018-01-03 19:46:17 -05:00
|
|
|
(license (list license:gpl2+ ; filter/*
|
|
|
|
license:expat)))) ; everything else
|
2018-01-10 18:54:22 -05:00
|
|
|
|
2020-05-28 21:30:30 -04:00
|
|
|
(define-public liferea
|
|
|
|
(package
|
|
|
|
(name "liferea")
|
2021-01-06 11:38:50 -05:00
|
|
|
(version "1.13.4")
|
2020-05-28 21:30:30 -04:00
|
|
|
(source
|
|
|
|
(origin
|
2021-01-06 11:38:50 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/lwindolf/liferea/")
|
|
|
|
(commit (string-append "v" version))))
|
2021-01-11 03:44:28 -05:00
|
|
|
(file-name (git-file-name name version))
|
2020-05-28 21:30:30 -04:00
|
|
|
(sha256
|
2021-01-06 11:38:50 -05:00
|
|
|
(base32 "1g9463bvswsm899j6dfhslcg6np70m5wq143mjicr24zy8d17bm7"))))
|
2020-05-28 21:30:30 -04:00
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
(arguments
|
2021-01-24 11:16:39 -05:00
|
|
|
`(#:configure-flags
|
|
|
|
(list
|
|
|
|
"--disable-static")
|
|
|
|
#:phases
|
2020-05-28 21:30:30 -04:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'prepare-build-environment
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
;; Workaround for https://github.com/lwindolf/liferea/issues/767.
|
|
|
|
(setenv "WEBKIT_DISABLE_COMPOSITING_MODE" "1")))
|
|
|
|
(add-after 'install 'wrap-gi-python
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
|
gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH.
This change was automated using:
$ git ls-files | grep .scm | \
xargs sed 's/(getenv "PYTHONPATH")/(getenv "GUIX_PYTHONPATH")/' -i
$ git ls-files | grep .scm | \
xargs sed 's/`("PYTHONPATH"/`("GUIX_PYTHONPATH"/' -i
* gnu/packages/admin.scm (nmap):
(dstat): Wrap using GUIX_PYTHONPATH.
* gnu/packages/audio.scm (jack-2):
(carla): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (couger): Likewise.
(gess, find-circ, filtlong, nanopolish): Likewise.
* gnu/packages/cdrom.scm (cdemu-client): Likewise.
* gnu/packages/chemistry.scm (avogadro): Likewise.
* gnu/packages/connman.scm (econnman): Likewise.
* gnu/packages/cups.scm (hplip): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/display-managers.scm (lightdm): Likewise.
* gnu/packages/ebook.scm (cozy): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/engineering.scm (kicad, volk, freecad): Likewise.
* gnu/packages/game-development.scm (renpy): Likewise.
* gnu/packages/games.scm (roguebox-adventures)
(seahorse-adventures, kajongg): Likewise.
* gnu/packages/gimp.scm (gimp, glimpse): Likewise.
* gnu/packages/glib.scm (itstool): Likewise.
* gnu/packages/gnome.scm (gnome-music, gtg, rhythmbox): Likewise.
(eolie, d-feet, gedit, caribou, gnome-shell, authenticator)
(gnome-todo, orca, passwordsafe, terminator, setzer)
(libratbag, komikku): Likewise.
* gnu/packages/gps.scm (gpsd): Likewise.
* gnu/packages/gtk.scm (gtk-doc): Likewise.
* gnu/packages/ibus.scm (ibus, ibus-libpinyin, ibus-anthy)
(ibus-libhangul): Likewise.
* gnu/packages/inkscape.scm (inkscape-1.0): Likewise.
* gnu/packages/linux.scm (bcc): Likewise.
* gnu/packages/mail.scm (notifymuch): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/music.scm (solfege): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/patchutils.scm (patchwork): Likewise.
* gnu/packages/photo.scm (rapid-photo-downloader, entangle): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/presentation.scm (presentty): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/storage.scm (ceph): Likewise.
* gnu/packages/syndication.scm (liferea): Likewise.
* gnu/packages/task-management.scm (blanket): Likewise.
* gnu/packages/text-editors.scm (manuskript): Likewise.
* gnu/packages/version-control.scm (gitless, cgit, git-when-merged)
(git-imerge): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (criu): Likewise.
* gnu/packages/xfce.scm (catfish): Likewise.
2021-01-27 17:33:13 -05:00
|
|
|
(python-path (getenv "GUIX_PYTHONPATH")))
|
2020-05-28 21:30:30 -04:00
|
|
|
(wrap-program (string-append out "/bin/liferea")
|
2020-09-07 13:19:06 -04:00
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
|
gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH.
This change was automated using:
$ git ls-files | grep .scm | \
xargs sed 's/(getenv "PYTHONPATH")/(getenv "GUIX_PYTHONPATH")/' -i
$ git ls-files | grep .scm | \
xargs sed 's/`("PYTHONPATH"/`("GUIX_PYTHONPATH"/' -i
* gnu/packages/admin.scm (nmap):
(dstat): Wrap using GUIX_PYTHONPATH.
* gnu/packages/audio.scm (jack-2):
(carla): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (couger): Likewise.
(gess, find-circ, filtlong, nanopolish): Likewise.
* gnu/packages/cdrom.scm (cdemu-client): Likewise.
* gnu/packages/chemistry.scm (avogadro): Likewise.
* gnu/packages/connman.scm (econnman): Likewise.
* gnu/packages/cups.scm (hplip): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/display-managers.scm (lightdm): Likewise.
* gnu/packages/ebook.scm (cozy): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/engineering.scm (kicad, volk, freecad): Likewise.
* gnu/packages/game-development.scm (renpy): Likewise.
* gnu/packages/games.scm (roguebox-adventures)
(seahorse-adventures, kajongg): Likewise.
* gnu/packages/gimp.scm (gimp, glimpse): Likewise.
* gnu/packages/glib.scm (itstool): Likewise.
* gnu/packages/gnome.scm (gnome-music, gtg, rhythmbox): Likewise.
(eolie, d-feet, gedit, caribou, gnome-shell, authenticator)
(gnome-todo, orca, passwordsafe, terminator, setzer)
(libratbag, komikku): Likewise.
* gnu/packages/gps.scm (gpsd): Likewise.
* gnu/packages/gtk.scm (gtk-doc): Likewise.
* gnu/packages/ibus.scm (ibus, ibus-libpinyin, ibus-anthy)
(ibus-libhangul): Likewise.
* gnu/packages/inkscape.scm (inkscape-1.0): Likewise.
* gnu/packages/linux.scm (bcc): Likewise.
* gnu/packages/mail.scm (notifymuch): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/music.scm (solfege): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/patchutils.scm (patchwork): Likewise.
* gnu/packages/photo.scm (rapid-photo-downloader, entangle): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/presentation.scm (presentty): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/storage.scm (ceph): Likewise.
* gnu/packages/syndication.scm (liferea): Likewise.
* gnu/packages/task-management.scm (blanket): Likewise.
* gnu/packages/text-editors.scm (manuskript): Likewise.
* gnu/packages/version-control.scm (gitless, cgit, git-when-merged)
(git-imerge): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (criu): Likewise.
* gnu/packages/xfce.scm (catfish): Likewise.
2021-01-27 17:33:13 -05:00
|
|
|
`("GUIX_PYTHONPATH" ":" prefix (,python-path))))
|
2020-09-07 13:19:06 -04:00
|
|
|
#t)))))
|
2020-05-28 21:30:30 -04:00
|
|
|
(native-inputs
|
2021-12-15 12:14:21 -05:00
|
|
|
(list autoconf
|
|
|
|
automake
|
|
|
|
gettext-minimal
|
|
|
|
`(,glib "bin")
|
|
|
|
gobject-introspection
|
|
|
|
intltool
|
|
|
|
libtool
|
|
|
|
pkg-config
|
|
|
|
which))
|
2020-05-28 21:30:30 -04:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list glib
|
|
|
|
glib-networking
|
|
|
|
gnome-keyring
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
gstreamer
|
|
|
|
json-glib
|
|
|
|
libnotify
|
|
|
|
libpeas
|
|
|
|
libsecret
|
2021-12-15 12:06:50 -05:00
|
|
|
libsoup-minimal-2
|
2021-12-13 11:18:24 -05:00
|
|
|
libxml2
|
|
|
|
libxslt
|
|
|
|
pango
|
|
|
|
python
|
|
|
|
python-pycairo
|
|
|
|
python-pygobject
|
|
|
|
sqlite
|
2021-12-15 12:06:50 -05:00
|
|
|
webkitgtk-with-libsoup2))
|
2020-05-28 21:30:30 -04:00
|
|
|
(home-page "https://lzone.de/liferea/")
|
|
|
|
(synopsis "News reader for GTK/GNOME")
|
|
|
|
(description "Liferea is a desktop feed reader/news aggregator that
|
|
|
|
brings together all of the content from your favorite subscriptions into
|
|
|
|
a simple interface that makes it easy to organize and browse feeds.")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2019-03-04 13:58:34 -05:00
|
|
|
(define-public rtv
|
|
|
|
(package
|
|
|
|
(name "rtv")
|
2019-06-17 12:38:51 -04:00
|
|
|
(version "1.27.0")
|
2019-03-04 13:58:34 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "rtv" version))
|
|
|
|
(sha256
|
2019-06-17 12:38:51 -04:00
|
|
|
(base32 "0hvw426y09l3yzwv2zkb9hifpfbg9wd1gg0y3z3pxcli6n3ii2wl"))))
|
2019-03-04 13:58:34 -05:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'check 'set-environment-variables
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
(setenv "TERM" "linux")
|
2021-07-16 11:20:09 -04:00
|
|
|
(setenv "TERMINFO"
|
2021-12-16 15:52:33 -05:00
|
|
|
(search-input-directory inputs "share/terminfo"))))
|
|
|
|
;; Loading this as a library requires a controlling terminal, etc.
|
|
|
|
(delete 'sanity-check))
|
2019-03-04 13:58:34 -05:00
|
|
|
#:tests? #f)) ; tests fail: _curses.error: nocbreak() returned ERR
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list python-beautifulsoup4 python-decorator python-kitchen
|
|
|
|
python-requests python-six))
|
2019-03-04 13:58:34 -05:00
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list ncurses
|
|
|
|
python-coveralls
|
|
|
|
python-coverage
|
|
|
|
python-mock
|
|
|
|
python-pylint
|
|
|
|
python-pytest
|
|
|
|
python-vcrpy))
|
2019-03-04 13:58:34 -05:00
|
|
|
(home-page "https://github.com/michael-lazar/rtv")
|
|
|
|
(synopsis "Terminal viewer for Reddit (Reddit Terminal Viewer)")
|
|
|
|
(description
|
|
|
|
"RTV provides a text-based interface to view and interact with Reddit.")
|
|
|
|
(license (list license:expat
|
|
|
|
license:gpl3+)))) ; rtv/packages/praw
|
2020-03-29 10:19:49 -04:00
|
|
|
|
|
|
|
(define-public tuir
|
|
|
|
(package
|
|
|
|
(name "tuir")
|
2020-05-25 13:54:09 -04:00
|
|
|
(version "1.29.0")
|
2020-03-29 10:19:49 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "tuir" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-05-25 13:54:09 -04:00
|
|
|
"06xb030ibphbrz4nsxm8mh3g60ld8xfp6kc3j6vi1k4ls5s4h79i"))))
|
2020-03-29 10:19:49 -04:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
2021-12-19 09:09:02 -05:00
|
|
|
(delete 'sanity-check) ; Tries to read environment variables.
|
2020-03-29 10:19:49 -04:00
|
|
|
(replace 'check
|
2021-08-04 08:15:57 -04:00
|
|
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
2020-03-29 10:19:49 -04:00
|
|
|
(add-installed-pythonpath inputs outputs)
|
2021-08-04 08:15:57 -04:00
|
|
|
(when tests?
|
|
|
|
(invoke "pytest")))))))
|
2020-03-29 10:19:49 -04:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list python-beautifulsoup4 python-decorator python-kitchen
|
|
|
|
python-requests python-six))
|
2020-03-29 10:19:49 -04:00
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list python-coverage
|
|
|
|
python-coveralls
|
|
|
|
python-mock
|
|
|
|
python-pylint
|
|
|
|
python-pytest
|
|
|
|
python-vcrpy))
|
2020-03-29 10:19:49 -04:00
|
|
|
(home-page "https://gitlab.com/ajak/tuir")
|
|
|
|
(synopsis "Terminal viewer for Reddit (Terminal UI for Reddit)")
|
|
|
|
(description
|
|
|
|
"Tuir provides a simple terminal viewer for Reddit (Terminal UI for Reddit).")
|
|
|
|
(license (list license:expat
|
|
|
|
license:gpl3+)))) ; tuir/packages/praw
|
2020-05-11 19:50:30 -04:00
|
|
|
|
2023-04-24 07:14:32 -04:00
|
|
|
(define-public morss
|
|
|
|
(package
|
|
|
|
(name "morss")
|
|
|
|
(version "20221213.2216")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "morss" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1mvxxhzmraxjnw0vz60zkl4d8xp7lw0fs0z537zfhmj1lj9ap4cp"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
;; Tests are not available in the PyPI release and the Git release
|
|
|
|
;; is lagging behind. Additionally, tests use the network.
|
|
|
|
(list #:tests? #f
|
|
|
|
;; Sanity check fails to find the module 'bs4', but it's available
|
|
|
|
;; in the python-beautifulsoup4 dependency.
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
(delete 'sanity-check))))
|
|
|
|
(propagated-inputs (list python-beautifulsoup4 python-chardet
|
|
|
|
python-dateutil python-lxml))
|
|
|
|
(home-page "https://morss.it/")
|
|
|
|
(synopsis "Get full-text RSS feeds")
|
|
|
|
(description "Morss' goal is to get full-text RSS feeds out of striped
|
|
|
|
RSS feeds, commonly available on the internet. It also makes it possible
|
|
|
|
to create RSS feeds for websites that don't provide any.")
|
|
|
|
(license license:agpl3+)))
|
|
|
|
|
2022-09-17 16:03:33 -04:00
|
|
|
(define-public syndication-domination
|
|
|
|
(let ((revision "1")
|
2023-04-22 01:03:34 -04:00
|
|
|
(commit "75920321062d682437f3fb0319dad227d8b18f6c"))
|
2022-09-17 16:03:33 -04:00
|
|
|
(package
|
|
|
|
(name "syndication-domination")
|
2023-04-22 01:03:34 -04:00
|
|
|
(version (git-version "1.0" revision commit))
|
2022-09-17 16:03:33 -04:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://gitlab.com/gabmus/syndication-domination")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
2023-04-22 01:03:34 -04:00
|
|
|
(base32 "1fl362920n6nz4x9wihyzbr82d9cy60sknhmajj62whd5gs49sbw"))))
|
2022-09-17 16:03:33 -04:00
|
|
|
(build-system meson-build-system)
|
|
|
|
(inputs (list fmt tidy-html pybind11 python pugixml))
|
|
|
|
(native-inputs (list cmake pkg-config)) ; need cmake to find pybind11
|
|
|
|
(home-page "https://gitlab.com/gabmus/syndication-domination")
|
|
|
|
(synopsis "RSS/Atom feed parser")
|
|
|
|
(description "This package provides an experimental RSS/Atom feed
|
|
|
|
parser. It is \"not fit for use at this point\", but gfeeds uses it anyway.")
|
|
|
|
(license license:agpl3))))
|
|
|
|
|
2021-03-05 18:05:46 -05:00
|
|
|
(define-public gfeeds
|
|
|
|
(package
|
|
|
|
(name "gfeeds")
|
2023-04-17 14:46:48 -04:00
|
|
|
(version "2.2.0")
|
2021-03-05 18:05:46 -05:00
|
|
|
(source (origin
|
2022-09-15 16:15:15 -04:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://gitlab.gnome.org/World/gfeeds")
|
|
|
|
(commit version)))
|
2022-11-14 08:22:49 -05:00
|
|
|
(file-name (git-file-name name version))
|
2021-03-05 18:05:46 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-04-17 14:46:48 -04:00
|
|
|
"0p2hyjif9yhpc6r3ig7fdxpb2q8s9g42mz38svsc38gq7hb13b2w"))))
|
2021-03-05 18:05:46 -05:00
|
|
|
(build-system meson-build-system)
|
|
|
|
(arguments
|
2022-09-15 16:16:55 -04:00
|
|
|
(list
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-mpv-path
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(substitute* "gfeeds/confManager.py"
|
|
|
|
(("mpv") (search-input-file inputs "/bin/mpv")))))
|
2022-09-17 12:35:47 -04:00
|
|
|
(add-after 'unpack 'skip-icon-cache
|
|
|
|
(lambda _
|
2023-04-17 14:46:48 -04:00
|
|
|
(substitute* "meson.build"
|
|
|
|
(("gtk_update_icon_cache: true")
|
|
|
|
"gtk_update_icon_cache: false"))))
|
2022-09-15 16:16:55 -04:00
|
|
|
(add-after 'install 'wrap-gfeeds
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2023-04-17 14:46:48 -04:00
|
|
|
(wrap-program (search-input-file outputs "/bin/gfeeds")
|
2022-09-15 16:16:55 -04:00
|
|
|
`("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
|
|
|
|
`("XDG_DATA_DIRS" ":" prefix (,(getenv "XDG_DATA_DIRS")))))))))
|
2021-03-05 18:05:46 -05:00
|
|
|
(native-inputs
|
2022-09-15 16:16:55 -04:00
|
|
|
(list `(,glib "bin")
|
2024-04-07 04:54:21 -04:00
|
|
|
blueprint-compiler-0.4
|
2022-09-15 16:16:55 -04:00
|
|
|
gobject-introspection
|
2023-04-25 14:16:34 -04:00
|
|
|
gettext-minimal
|
2022-09-15 16:16:55 -04:00
|
|
|
pkg-config))
|
2021-03-05 18:05:46 -05:00
|
|
|
(inputs
|
2022-09-15 16:16:55 -04:00
|
|
|
(list bash-minimal
|
|
|
|
glib
|
2021-12-13 11:18:24 -05:00
|
|
|
gsettings-desktop-schemas
|
2022-09-17 12:35:47 -04:00
|
|
|
gtk
|
2021-12-13 11:18:24 -05:00
|
|
|
hicolor-icon-theme
|
2022-09-17 12:35:47 -04:00
|
|
|
libadwaita
|
2021-12-13 11:18:24 -05:00
|
|
|
mpv
|
|
|
|
python
|
|
|
|
python-beautifulsoup4
|
|
|
|
python-dateutil
|
|
|
|
python-feedparser
|
|
|
|
python-html5lib
|
2022-09-17 12:35:47 -04:00
|
|
|
python-humanize
|
2021-12-13 11:18:24 -05:00
|
|
|
python-listparser
|
|
|
|
python-lxml
|
2022-09-17 12:35:47 -04:00
|
|
|
python-magic
|
2021-12-13 11:18:24 -05:00
|
|
|
python-pillow
|
|
|
|
python-pygments
|
2022-09-17 12:35:47 -04:00
|
|
|
python-pygobject
|
2021-12-13 11:18:24 -05:00
|
|
|
python-pytz
|
2022-09-17 12:35:47 -04:00
|
|
|
python-readability-lxml
|
2021-12-13 11:18:24 -05:00
|
|
|
python-requests
|
2022-09-17 12:35:47 -04:00
|
|
|
syndication-domination
|
gnu: Make webkitgtk-next the new webkitgtk.
As of version 2.42.0, the WebKit 6.0 typelib is considered stable.
With GNOME itself moving to GTK4 as time marches on, we should reflect
the fact that this is the preferred Webkit for future applications.
* gnu/packages/webkit.scm (webkitgtk-next): Remove variable. Inline logic…
(webkitgtk): … here. Move old value …
(webkitgtk-for-gtk3): … here.
(webkitgtk-with-libsoup2): Inherit from webkitgtk-for-gtk3.
* gnu/packages/geo.scm (gnome-maps): Adjust accordingly.
* gnu/packages/gnome.scm (gnome-initial-setup, sushi)
(cambalache, devhelp, devhelp-with-libsoup2, gnome-online-accounts)
(gnome-online-accounts-3.44, evolution-data-server, evolution-data-server-3.44)
(lollypop, evolution, gnome-boxes, geary, komikku): Likewise.
* gnu/packages/guile-xyz.scm (guile-gi, nomad): Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-cl-webkit): Likewise.
* gnu/packages/mail.scm (balsa): Likewise.
* gnu/packages/mate.scm (atril): Likewise.
* gnu/packages/music.scm (ctrlr): Likewise.
* gnu/packages/rednotebook.scm (rednotebook): Likewise.
* gnu/packages/syndication.scm (gfeeds): Likewise.
* gnu/packages/telegram.scm (telegram-desktop): Likewise.
* gnu/packages/vnc.scm (remmina): Likewise.
* gnu/packages/web-browsers.scm (nyxt): Likewise.
2023-10-12 02:25:26 -04:00
|
|
|
webkitgtk))
|
2021-03-05 18:05:46 -05:00
|
|
|
(home-page "https://gfeeds.gabmus.org/")
|
|
|
|
(synopsis "Easy-to-use GTK+ RSS/Atom feed reader")
|
|
|
|
(description "Feeds is an RSS/Atom feed reader made with GTK+
|
|
|
|
and it has an easy-to-use graphical user interface.")
|
|
|
|
(license license:gpl3+)))
|