mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-12 15:02:55 +01:00
gnu: Add rust-gdk-0.14.
* gnu/packages/crates-gtk.scm (rust-gdk-0.14): New variable. (rust-gdk-0.13): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
2e3dd8df8f
commit
59a715b07a
1 changed files with 35 additions and 8 deletions
|
@ -317,8 +317,42 @@
|
||||||
("rust-x11" ,rust-x11-2)
|
("rust-x11" ,rust-x11-2)
|
||||||
("rust-pkg-config" ,rust-pkg-config-0.3))))))
|
("rust-pkg-config" ,rust-pkg-config-0.3))))))
|
||||||
|
|
||||||
|
(define-public rust-gdk-0.14
|
||||||
|
(package
|
||||||
|
(name "rust-gdk")
|
||||||
|
(version "0.14.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "gdk" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0fwkm4glh7cici6yd96qlddyp4s2l029wa1sgh6xxn00zkf4kmxr"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build?
|
||||||
|
#t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-bitflags" ,rust-bitflags-1)
|
||||||
|
("rust-cairo-rs" ,rust-cairo-rs-0.14)
|
||||||
|
("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.14)
|
||||||
|
("rust-gdk-sys" ,rust-gdk-sys-0.14)
|
||||||
|
("rust-gio" ,rust-gio-0.14)
|
||||||
|
("rust-glib" ,rust-glib-0.14)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-pango" ,rust-pango-0.14))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
|
||||||
|
(inputs
|
||||||
|
(list cairo gdk-pixbuf glib gtk+ pango))
|
||||||
|
(home-page "https://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-0.13
|
(define-public rust-gdk-0.13
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-gdk-0.14)
|
||||||
(name "rust-gdk")
|
(name "rust-gdk")
|
||||||
(version "0.13.2")
|
(version "0.13.2")
|
||||||
(source
|
(source
|
||||||
|
@ -328,7 +362,6 @@
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0zbb9bwg2z9vlcjj9b59qch3mfmszsrxya7syc5a39v85adq606v"))))
|
(base32 "0zbb9bwg2z9vlcjj9b59qch3mfmszsrxya7syc5a39v85adq606v"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
|
@ -346,13 +379,7 @@
|
||||||
("rust-libc" ,rust-libc-0.2)
|
("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-pango" ,rust-pango-0.9))
|
("rust-pango" ,rust-pango-0.9))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
|
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
|
||||||
(inputs
|
|
||||||
(list cairo gdk-pixbuf glib gtk+ pango))
|
|
||||||
(home-page "https://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-0.12
|
(define-public rust-gdk-0.12
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Reference in a new issue