From 10e38c3afbf2fa6220526adfd51c4704898ac93f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 10 Jun 2021 23:22:35 +0300 Subject: [PATCH] gnu: newsboat: Update to 2.23. * gnu/packages/syndication.scm (newsboat): Update to 2.23. [arguments]: Build with rust-1.46. [cargo-inputs]: Replace rust-gettext-rs-0.5 with 0.6, rust-rand-0.7 with 0.8. Add rust-percent-encoding-2, rust-xdg-2. Move rust-cxx-build-0.5 ... [cargo-development-inputs]: ... to here. --- gnu/packages/syndication.scm | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 65ff2cc341..fc4efb24f6 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -52,6 +52,7 @@ #:use-module (gnu packages python-web) #:use-module (gnu packages qt) #:use-module (gnu packages ruby) + #:use-module (gnu packages rust) #:use-module (gnu packages sqlite) #:use-module (gnu packages time) #:use-module (gnu packages tls) @@ -218,15 +219,14 @@ cards.") (define-public newsboat (package (name "newsboat") - (version "2.22.1") + (version "2.23") (source (origin (method url-fetch) (uri (string-append "https://newsboat.org/releases/" version "/newsboat-" version ".tar.xz")) (sha256 - (base32 - "1476fmfw2hkrjwyr3f7k9316lzwnn2b1dbc51rybcxipqlfg8849")))) + (base32 "1p6sqypgzhwirgljr898c9n7vr5y9322fvrlaigwrchxshwv35xr")))) (build-system cargo-build-system) (native-inputs `(("gettext" ,gettext-minimal) @@ -246,6 +246,7 @@ cards.") (guix build utils) ((guix build gnu-build-system) #:prefix gnu:)) #:vendor-dir "vendor" + #:rust ,rust-1.46 ; or newer #:install-source? #f #:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) @@ -254,17 +255,19 @@ cards.") ("rust-clap" ,rust-clap-2) ("rust-curl-sys" ,rust-curl-sys-0.4) ("rust-cxx" ,rust-cxx-0.5) - ("rust-cxx-build" ,rust-cxx-build-0.5) - ("rust-gettext-rs" ,rust-gettext-rs-0.5) + ("rust-gettext-rs" ,rust-gettext-rs-0.6) ("rust-libc" ,rust-libc-0.2) ("rust-natord" ,rust-natord-1) ("rust-nom" ,rust-nom-6) ("rust-once-cell" ,rust-once-cell-1) - ("rust-rand" ,rust-rand-0.7) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.8) ("rust-url" ,rust-url-2) - ("rust-unicode-width" ,rust-unicode-width-0.1)) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-xdg" ,rust-xdg-2)) #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3) + (("rust-cxx-build" ,rust-cxx-build-0.5) + ("rust-tempfile" ,rust-tempfile-3) ("rust-proptest" ,rust-proptest-0.9) ("rust-section-testing" ,rust-section-testing-0.0)) #:phases