aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2024-11-06 21:41:18 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:08 +0200
commit47dbc053d92bf3a6368b3a8b6201808451eb01f8 (patch)
treeecabba209e3943b18384a64273406740834cc719 /gnu/packages/crates-gtk.scm
parent6709bb84bda7903453782799851b1fceb1c219df (diff)
downloadguix-47dbc053d92bf3a6368b3a8b6201808451eb01f8.tar.gz
guix-47dbc053d92bf3a6368b3a8b6201808451eb01f8.zip
gnu: Add rust-libadwaita-sys-0.6.
* gnu/packages/crates-gtk.scm (rust-libadwaita-sys-0.6): New variable. (rust-libadwaita-sys-0.5): Inherit from rust-libadwaita-sys-0.6. Change-Id: Iab000ff1bd6113193a40600bd030943bcbf66615
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r--gnu/packages/crates-gtk.scm40
1 files changed, 32 insertions, 8 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 357d8251c2..b0ba963bba 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3157,8 +3157,39 @@ library.")
(description "Rust bindings for libadwaita.")
(license license:expat)))
+(define-public rust-libadwaita-sys-0.6
+ (package
+ (name "rust-libadwaita-sys")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libadwaita-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a513qlanw6n8dksm1br20a7iz2x1ff5cgg9v5f2dq9bx7j4i9r3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.8)
+ ("rust-gio-sys" ,rust-gio-sys-0.19)
+ ("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.19)
+ ("rust-gtk4-sys" ,rust-gtk4-sys-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.19)
+ ("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 gtk libadwaita))
+ (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs/")
+ (synopsis "FFI bindings for libadwaita")
+ (description "FFI bindings for libadwaita.")
+ (license license:expat)))
+
(define-public rust-libadwaita-sys-0.5
(package
+ (inherit rust-libadwaita-sys-0.6)
(name "rust-libadwaita-sys")
(version "0.5.3")
(source
@@ -3168,7 +3199,6 @@ library.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "16n6xsy6jhbj0jbpz8yvql6c9b89a99v9vhdz5s37mg1inisl42y"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; ‘AdwBannerClass’ undeclared
#:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
@@ -3180,13 +3210,7 @@ library.")
("rust-pango-sys" ,rust-pango-sys-0.18)
("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 gtk libadwaita))
- (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs/")
- (synopsis "FFI bindings for libadwaita")
- (description "FFI bindings for libadwaita.")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-pango-0.19
(package