aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorDivya Ranjan <divya@subvertising.org>2024-11-19 07:32:10 +0000
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:26 +0200
commit881ff2a2c6adfd1bf96b7e83bc4121f41bde5449 (patch)
treee588b3cf48be258c31f3d7a89fa87f12458ef463 /gnu/packages/crates-gtk.scm
parent552eb28a42805adb98062c216846625042ffdbea (diff)
downloadguix-881ff2a2c6adfd1bf96b7e83bc4121f41bde5449.tar.gz
guix-881ff2a2c6adfd1bf96b7e83bc4121f41bde5449.zip
gnu: Add rust-atk-sys-0.18.
* gnu/packages/crates-gtk.scm (rust-atk-sys-0.18): New variable. (rust-atk-sys-0.14): Inherit from rust-atk-sys-0.18. Change-Id: I8eb3c1b0df359f77e13e88126b811ab9e49f3cbc Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r--gnu/packages/crates-gtk.scm42
1 files changed, 33 insertions, 9 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 35b213159e..17dae3973d 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -41,8 +41,40 @@
;;;
;;; Please: Try to add new module packages in alphabetic order.
;;;
+
+(define-public rust-atk-sys-0.18
+ (package
+ (name "rust-atk-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0280k0xw21n3zzri8ynk5mxy7v1mk9d506l962lhngp3j1yhn7i5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--"
+ "--skip=cross_validate_constants_with_c"
+ "--skip=cross_validate_layout_with_c")
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("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 at-spi2-core glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libatk-1")
+ (description "This package provides FFI bindings to libatk-1.")
+ (license license:expat)))
+
(define-public rust-atk-sys-0.14
(package
+ (inherit rust-atk-sys-0.18)
(name "rust-atk-sys")
(version "0.14.0")
(source
@@ -52,7 +84,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1sl3pqfb2jaf9kcfxj9k43d7iv8gcl5zgdgn3j5vp13w2mqgdp5s"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; missing files
#:cargo-inputs
@@ -62,14 +93,7 @@
("rust-system-deps" ,rust-system-deps-3))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-1)
- ("rust-tempfile" ,rust-tempfile-3))))
- (native-inputs (list pkg-config))
- (inputs
- (list at-spi2-core glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libatk-1")
- (description "FFI bindings to libatk-1")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-atk-sys-0.10
(package