summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-04 15:52:31 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-05 14:45:10 +0100
commit44dea49be44a552e35a4b1892c447bc9a1bf0a30 (patch)
tree23e3ab9314f4fcf6c786e2e8cd8364bf676c85f8
parent5af6136a6a37cdac1950522cc0cda5dfa38fcbde (diff)
downloadguix-44dea49be44a552e35a4b1892c447bc9a1bf0a30.tar.gz
gnu: Add rust-atk-sys-0.9.
* gnu/packages/crates-gtk.scm (rust-atk-sys-0.9): New variable.
-rw-r--r--gnu/packages/crates-gtk.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 0c069dbfd2..a0b1ac7bb5 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -32,6 +32,36 @@
 ;;; Please: Try to add new module packages in alphabetic order.
 ;;;
 
+(define-public rust-atk-sys-0.9
+  (package
+    (name "rust-atk-sys")
+    (version "0.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "atk-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vzcm1inhax78bcsbapr6mrp4z7lk783csyh200wi91pcxvw2lp5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f                      ;missing files
+       #:cargo-inputs
+       (("rust-glib-sys" ,rust-glib-sys-0.9)
+        ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-pkg-config" ,rust-pkg-config-0.3))
+       #:cargo-development-inputs
+       (("rust-shell-words" ,rust-shell-words-0.1)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (inputs
+     `(("atk" ,atk)
+       ("glib" ,glib)))
+    (home-page "http://gtk-rs.org/")
+    (synopsis "FFI bindings to libatk-1")
+    (description "FFI bindings to libatk-1")
+    (license license:expat)))
+
 (define-public rust-cairo-rs-0.8
   (package
     (name "rust-cairo-rs")