summary refs log tree commit diff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-05 12:10:23 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-05 14:45:13 +0100
commitd283d54e487e116be50dcd9643b7ded7164dd0d5 (patch)
tree22b6fb65735c68969036947005b853899917d6fb /gnu/packages/crates-gtk.scm
parent8b657f3ecee392c20553616d1c59bd56e23bff7a (diff)
downloadguix-d283d54e487e116be50dcd9643b7ded7164dd0d5.tar.gz
gnu: Add rust-gdk-sys-0.9.
* gnu/packages/crates-gtk.scm (rust-gdk-sys-0.9): New variable.
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r--gnu/packages/crates-gtk.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 9044740624..e2a09f9276 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -402,6 +402,33 @@
     (description "FFI bindings to libgdk-3")
     (license license:expat)))
 
+(define-public rust-gdk-sys-0.9
+  (package
+    (inherit rust-gdk-sys-0.10)
+    (name "rust-gdk-sys")
+    (version "0.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gdk-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1fwgr1b3n0khlkhdq9145m6baz9y8207ya30d30g1gyij6g6gpva"))))
+    (arguments
+     `(#:tests? #f
+       #:cargo-inputs
+       (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
+        ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
+        ("rust-gio-sys" ,rust-gio-sys-0.9)
+        ("rust-glib-sys" ,rust-glib-sys-0.9)
+        ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-pango-sys" ,rust-pango-sys-0.9)
+        ("rust-pkg-config" ,rust-pkg-config-0.3))
+       #:cargo-development-inputs
+       (("rust-shell-words" ,rust-shell-words-0.1)
+        ("rust-tempfile" ,rust-tempfile-3))))))
+
 (define-public rust-gio-0.9
   (package
     (name "rust-gio")