me
/
guix
Archived
1
0
Fork 0

gnu: gnome-calculator: Update to 40.1.

* gnu/packages/gnome.scm (gnome-calculator): Update to 40.1.
[source]: Fix the URL.
[arguments]: Add a 'pre-check phase.
[inputs]: Add libhandy.
master
Mathieu Othacehe 2021-09-24 15:44:51 +00:00
parent 0a0c8f426c
commit cb79e5a175
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 12 additions and 4 deletions

View File

@ -9981,18 +9981,25 @@ handling the startup notification side.")
(define-public gnome-calculator
(package
(name "gnome-calculator")
(version "3.36.0")
(version "40.1")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/"
(version-major version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"1cqd4b25qp1i0p04m669jssg1l5sdapc1mniv9jssvw5r7wk1s52"))))
"1xkazxbkpn1z5pfphhps7fc5q4yc8lp7f6b222n8bx5iyxhwbrkz"))))
(build-system meson-build-system)
(arguments '(#:glib-or-gtk? #t))
(arguments
'(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
;; Tests require a writable HOME.
(setenv "HOME" (getcwd)))))))
(native-inputs
`(("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
@ -10004,6 +10011,7 @@ handling the startup notification side.")
`(("glib" ,glib)
("gtksourceview" ,gtksourceview)
("libgee" ,libgee)
("libhandy" ,libhandy)
("libsoup" ,libsoup)
("libxml2" ,libxml2)
("mpc" ,mpc)