aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2024-11-06 21:41:26 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:09 +0200
commit4b556e539ce79a9f6d72f7669cd6d38527ad9c2e (patch)
tree61d05c4d48ad4bfc08f6a4f5343b29cada89931e /gnu/packages/crates-gtk.scm
parent4f1d8f5badaca897642b6ae77bba8000e4aca665 (diff)
downloadguix-4b556e539ce79a9f6d72f7669cd6d38527ad9c2e.tar.gz
guix-4b556e539ce79a9f6d72f7669cd6d38527ad9c2e.zip
gnu: Add rust-gsk4-sys-0.8.
* gnu/packages/crates-gtk.scm (rust-gsk4-sys-0.8): New variable. (rust-gsk4-sys-0.7): Inherit from rust-gsk4-sys-0.8. Change-Id: I2a54b556fecca7f942b4843885b12307f6cf35af
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 0ed74628c1..48ba8534a5 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2662,8 +2662,39 @@
(description "Rust bindings of the GSK 4 library.")
(license license:expat)))
+(define-public rust-gsk4-sys-0.8
+ (package
+ (name "rust-gsk4-sys")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gsk4-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p5kf912s8qs38lhzzwnm26v498wkp68mx92z38vnf3ccgr4n0i3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.19)
+ ("rust-gdk4-sys" ,rust-gdk4-sys-0.8)
+ ("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.19)
+ ("rust-graphene-sys" ,rust-graphene-sys-0.19)
+ ("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 cairo gdk-pixbuf graphene gtk pango))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings of GSK 4")
+ (description "This package provides FFI bindings of GSK 4.")
+ (license license:expat)))
+
(define-public rust-gsk4-sys-0.7
(package
+ (inherit rust-gsk4-sys-0.8)
(name "rust-gsk4-sys")
(version "0.7.3")
(source
@@ -2673,7 +2704,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0mbdlm9qi1hql48rr29vsj9vlqwc7gxg67wg1q19z67azwz9xg8j"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; `GskFillRule` undeclared
#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18)
@@ -2685,13 +2715,7 @@
("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 cairo gdk-pixbuf graphene gtk pango))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings of GSK 4")
- (description "This package provides FFI bindings of GSK 4.")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gstreamer-0.18
(package