aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-04 15:58:14 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-05 14:45:11 +0100
commit11f6a341728d8bad48823f3beec2da5a21bba2eb (patch)
treecc0c1ab94a6e96526fdcc536032fc91ac4676707
parenta2f1943493e87118579ab5da04713db45f774e0a (diff)
downloadguix-11f6a341728d8bad48823f3beec2da5a21bba2eb.tar.gz
guix-11f6a341728d8bad48823f3beec2da5a21bba2eb.zip
gnu: Add rust-gdk-sys-0.10.
* gnu/packages/crates-gtk.scm (rust-gdk-sys-0.10): New variable.
-rw-r--r--gnu/packages/crates-gtk.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 4a3d2bb50a..74c883b170 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -294,6 +294,44 @@
(description "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.")
(license license:expat)))
+(define-public rust-gdk-sys-0.10
+ (package
+ (name "rust-gdk-sys")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0s8d2jymffbv2kpwrx53krf7mpy3vdfhbb5i2n02dz80qp7m75ha"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10)
+ ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10)
+ ("rust-gio-sys" ,rust-gio-sys-0.10)
+ ("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.10)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-system-deps" ,rust-system-deps-1))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (inputs
+ `(("cairo" ,cairo)
+ ("gdk-pixbuf" ,gdk-pixbuf)
+ ("gtk+" ,gtk+)
+ ("glib" ,glib)
+ ("pango" ,pango)))
+ (home-page "http://gtk-rs.org/")
+ (synopsis "FFI bindings to libgdk-3")
+ (description "FFI bindings to libgdk-3")
+ (license license:expat)))
+
(define-public rust-gio-0.8
(package
(name "rust-gio")