me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-gdk4-sys-0.7.

* gnu/packages/crates-gtk.scm (rust-gdk4-sys-0.7): New variable.

Change-Id: If958f0c9c1919b0f47ff4543f3fcb82758837767
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Sergio Pastor Pérez 2023-11-28 22:13:00 +01:00 committed by Efraim Flashner
parent 41e1f09547
commit ac4889cb06
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 32 additions and 0 deletions

View File

@ -943,6 +943,38 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gdk4-sys-0.7
(package
(name "rust-gdk4-sys")
(version "0.7.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "gdk4-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1w7yvir565sjrrw828lss07749hfpfsr19jdjzwivkx36brl7ayv"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; GDK_MEMORY_A16 undeclared
#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18)
("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18)
("rust-gio-sys" ,rust-gio-sys-0.18)
("rust-glib-sys" ,rust-glib-sys-0.18)
("rust-gobject-sys" ,rust-gobject-sys-0.18)
("rust-libc" ,rust-libc-0.2)
("rust-pango-sys" ,rust-pango-sys-0.18)
("rust-pkg-config" ,rust-pkg-config-0.3)
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))
(native-inputs (list pkg-config))
(inputs (list cairo gdk-pixbuf glib gtk pango))
(home-page "https://gtk-rs.org/")
(synopsis "FFI bindings of GDK 4")
(description "This package provides FFI bindings of GDK 4.")
(license license:expat)))
(define-public rust-gio-0.18
(package
(name "rust-gio")