nckx pushed a commit to branch master
in repository guix.
commit f8fcd6e533ec50a0c3e1cb86a26c7b3109305f00
Author: Tobias Geerinckx-Rice <[email protected]>
AuthorDate: Sun Jul 16 02:00:00 2023 +0200
gnu: evince: Parameterise source URI.
* gnu/packages/gnome.scm (evince)[source]: Use VERSION.
---
gnu/packages/gnome.scm | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4f5734dc0a..f2654c3f4e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2611,12 +2611,14 @@ forgotten when the session ends.")
(package
(name "evince")
(version "44.1")
- (source (origin
- (method url-fetch)
- (uri "mirror://gnome/sources/evince/44/evince-44.1.tar.xz")
- (sha256
- (base32
- "0523lzk7xpfr6gir8nx80fmp1lhajm837hilmgn8zczz2nxx7bqm"))))
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/evince/"
+ (version-major version) "/"
+ "evince-" version ".tar.xz"))
+ (sha256
+ (base32 "0523lzk7xpfr6gir8nx80fmp1lhajm837hilmgn8zczz2nxx7bqm"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t