mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add rust-gdk-sys-0.14.
* gnu/packages/crates-gtk.scm (rust-gdk-sys-0.14): New variable. (rust-gdk-sys-0.10): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
3fd49875c6
commit
2e3dd8df8f
1 changed files with 37 additions and 7 deletions
|
@ -572,8 +572,44 @@ (define-public rust-gdk-pixbuf-sys-0.9
|
|||
(("rust-shell-words" ,rust-shell-words-0.1)
|
||||
("rust-tempfile" ,rust-tempfile-3))))))
|
||||
|
||||
(define-public rust-gdk-sys-0.14
|
||||
(package
|
||||
(name "rust-gdk-sys")
|
||||
(version "0.14.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "gdk-sys" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "07hz3gg039sy7iffy2w5srxzsnqf15i3ryxkqfd995k67lyin28f"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build?
|
||||
#t
|
||||
#:cargo-inputs
|
||||
(("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.14)
|
||||
("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.14)
|
||||
("rust-gio-sys" ,rust-gio-sys-0.14)
|
||||
("rust-glib-sys" ,rust-glib-sys-0.14)
|
||||
("rust-gobject-sys" ,rust-gobject-sys-0.14)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-pango-sys" ,rust-pango-sys-0.14)
|
||||
("rust-pkg-config" ,rust-pkg-config-0.3)
|
||||
("rust-system-deps" ,rust-system-deps-3))
|
||||
#:cargo-development-inputs
|
||||
(("rust-shell-words" ,rust-shell-words-0.1)
|
||||
("rust-tempfile" ,rust-tempfile-3))))
|
||||
(inputs
|
||||
(list cairo gdk-pixbuf gtk+ glib pango))
|
||||
(home-page "https://gtk-rs.org/")
|
||||
(synopsis "FFI bindings to libgdk-3")
|
||||
(description "FFI bindings to libgdk-3")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-gdk-sys-0.10
|
||||
(package
|
||||
(inherit rust-gdk-sys-0.14)
|
||||
(name "rust-gdk-sys")
|
||||
(version "0.10.0")
|
||||
(source
|
||||
|
@ -598,13 +634,7 @@ (define-public rust-gdk-sys-0.10
|
|||
("rust-system-deps" ,rust-system-deps-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-shell-words" ,rust-shell-words-0.1)
|
||||
("rust-tempfile" ,rust-tempfile-3))))
|
||||
(inputs
|
||||
(list cairo gdk-pixbuf gtk+ glib pango))
|
||||
(home-page "https://gtk-rs.org/")
|
||||
(synopsis "FFI bindings to libgdk-3")
|
||||
(description "FFI bindings to libgdk-3")
|
||||
(license license:expat)))
|
||||
("rust-tempfile" ,rust-tempfile-3))))))
|
||||
|
||||
(define-public rust-gdk-sys-0.9
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue