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
(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