gnu: evince: Parameterise source URI.

* gnu/packages/gnome.scm (evince)[source]: Use VERSION.
This commit is contained in:
Tobias Geerinckx-Rice 2023-07-16 02:00:00 +02:00
parent 91344faa93
commit f8fcd6e533
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2611,12 +2611,14 @@ (define-public evince
(package (package
(name "evince") (name "evince")
(version "44.1") (version "44.1")
(source (origin (source
(origin
(method url-fetch) (method url-fetch)
(uri "mirror://gnome/sources/evince/44/evince-44.1.tar.xz") (uri (string-append "mirror://gnome/sources/evince/"
(version-major version) "/"
"evince-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32 "0523lzk7xpfr6gir8nx80fmp1lhajm837hilmgn8zczz2nxx7bqm"))))
"0523lzk7xpfr6gir8nx80fmp1lhajm837hilmgn8zczz2nxx7bqm"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:glib-or-gtk? #t `(#:glib-or-gtk? #t