summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-04 15:53:06 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-05 14:45:10 +0100
commite4af004f88b5058affc036dd60ddcdd33155518c (patch)
tree83f8d78081f02190c1395b0c025ee327200a4e7b /gnu
parent44dea49be44a552e35a4b1892c447bc9a1bf0a30 (diff)
downloadguix-e4af004f88b5058affc036dd60ddcdd33155518c.tar.gz
gnu: Add rust-atk-0.8.
* gnu/packages/crates-gtk.scm (rust-atk-0.8): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-gtk.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index a0b1ac7bb5..2ccd3a083b 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -62,6 +62,37 @@
     (description "FFI bindings to libatk-1")
     (license license:expat)))
 
+(define-public rust-atk-0.8
+  (package
+    (name "rust-atk")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "atk" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0gk6ijqsd6kh8cki1wznw570499psbppg3d5bqaayagjapxawka4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-atk-sys" ,rust-atk-sys-0.9)
+        ("rust-bitflags" ,rust-bitflags-1)
+        ("rust-glib" ,rust-glib-0.9)
+        ("rust-glib-sys" ,rust-glib-sys-0.9)
+        ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+        ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)
+        ("rust-libc" ,rust-libc-0.2))
+       #:cargo-development-inputs
+       (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+    (inputs
+     `(("atk" ,atk)
+       ("glib" ,glib)))
+    (home-page "http://gtk-rs.org/")
+    (synopsis "Rust bindings for the ATK library")
+    (description "Rust bindings for the ATK library")
+    (license license:expat)))
+
 (define-public rust-cairo-rs-0.8
   (package
     (name "rust-cairo-rs")