gnu: granite: Update to 6.2.0 and add python to native inputs.

* gnu/packages/pantheon.scm (granite)[phases]: Delete trailing #t.
[inputs]: Use new style.
[native-inputs]: Likewise and add python.
This commit is contained in:
Maxim Cournoyer 2022-01-22 01:09:06 -05:00
parent ceb72ad0f4
commit 2b77a66edb
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -26,6 +26,7 @@ (define-module (gnu packages pantheon)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages package-management) #:use-module (gnu packages package-management)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
@ -37,7 +38,7 @@ (define-module (gnu packages pantheon)
(define-public granite (define-public granite
(package (package
(name "granite") (name "granite")
(version "5.5.0") (version "6.2.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -46,24 +47,16 @@ (define-public granite
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"13qfhq8xndikk6kmybibs6a4ddyp6mhvbsp2yy4qr7aiiyxf7mna")))) "0ilslmg63hh2x7h5rvs3mhzw1y9ixhhkqnn1j1lzwm12v2iidkaq"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:phases `(#:phases (modify-phases %standard-phases
(modify-phases %standard-phases (add-after 'unpack 'disable-icon-cache
(add-after 'unpack 'disable-icon-cache (lambda _
(lambda _ (setenv "DESTDIR" "/"))))))
(setenv "DESTDIR" "/") (inputs (list glib gtk+ libgee))
#t))))) (native-inputs (list gettext-minimal gobject-introspection pkg-config
(inputs python vala))
`(("glib" ,glib)
("gtk" ,gtk+)
("libgee" ,libgee)))
(native-inputs
`(("gettext" ,gettext-minimal)
("gobject-introspection" ,gobject-introspection)
("pkg-config" ,pkg-config)
("vala" ,vala)))
(home-page "https://github.com/elementary/granite") (home-page "https://github.com/elementary/granite")
(synopsis "Library that extends GTK with common widgets and utilities") (synopsis "Library that extends GTK with common widgets and utilities")
(description "Granite is a companion library for GTK+ and GLib. Among other (description "Granite is a companion library for GTK+ and GLib. Among other