diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 12:25:25 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 14:45:13 +0100 |
commit | 81756b7fe2713a32deb44d54d09fb8396bfe7b5e (patch) | |
tree | 7f091dbcfeb3da66f6b18c55ca6dd00da7394b49 /gnu/packages | |
parent | d283d54e487e116be50dcd9643b7ded7164dd0d5 (diff) | |
download | guix-81756b7fe2713a32deb44d54d09fb8396bfe7b5e.tar.gz |
gnu: Add rust-gdk-0.12.
* gnu/packages/crates-gtk.scm (rust-gdk-0.12): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index e2a09f9276..e6f12a622c 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -224,6 +224,46 @@ ("rust-x11" ,rust-x11-2) ("rust-pkg-config" ,rust-pkg-config-0.3)))))) +(define-public rust-gdk-0.12 + (package + (name "rust-gdk") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12bmk9vfpk7f03fx22cq9ps00xylsxcpmp8c8r95r1n05xvyirgv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cairo-rs" ,rust-cairo-rs-0.8) + ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8) + ("rust-gdk-sys" ,rust-gdk-sys-0.9) + ("rust-gio" ,rust-gio-0.8) + ("rust-gio-sys" ,rust-gio-sys-0.9) + ("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) + ("rust-pango" ,rust-pango-0.8)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (inputs + `(("cairo" ,cairo) + ("gdk-pixbuf" ,gdk-pixbuf) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("pango" ,pango))) + (home-page "http://gtk-rs.org/") + (synopsis "Rust bindings for the GDK 3 library") + (description "This package provides Rust bindings for the GDK 3 library.") + (license license:expat))) + (define-public rust-gdk-pixbuf-0.9 (package (name "rust-gdk-pixbuf") |