gnu: libmateweather: Fix tests.

Apply the following upstream fix:
ea13e06563.

* gnu/packages/mate.scm (libmateweather)[source]: Fix tests by renaming
America/Godthab timezone to America/Nuuk.
This commit is contained in:
Mathieu Othacehe 2020-06-16 16:25:37 +02:00 committed by Mathieu Othacehe
parent 619972f7b5
commit e23ec7144c
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -6,6 +6,7 @@
;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2019 Guy Fleury Iteriteka <hoonandon@gmail.com> ;;; Copyright © 2019 Guy Fleury Iteriteka <hoonandon@gmail.com>
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de> ;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -264,7 +265,16 @@ (define-public libmateweather
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"094mnlczxq9crjj8z7dzs1zmwscdkbp54l3qjaf4a4bhd8lihv8d")))) "094mnlczxq9crjj8z7dzs1zmwscdkbp54l3qjaf4a4bhd8lihv8d"))
(modules '((guix build utils)))
;; This is fixed by commit ea13e065 upstream. Remove this once 1.25.0
;; is out.
(snippet
'(begin
(substitute* "data/Locations.xml.in"
(("Godthab")
"Nuuk"))
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:configure-flags '(#:configure-flags