mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: Add rust-gio-sys-0.14.
* gnu/packages/crates-gtk.scm (rust-gio-sys-0.14): New variable. (rust-gio-sys-0.10): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
7c48e19cd0
commit
efb8c66be6
1 changed files with 30 additions and 8 deletions
|
@ -591,8 +591,37 @@
|
|||
#:cargo-development-inputs
|
||||
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
|
||||
|
||||
(define-public rust-gio-sys-0.14
|
||||
(package
|
||||
(name "rust-gio-sys")
|
||||
(version "0.14.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "gio-sys" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1yj8dx2rna07av3jwyd93s832kw8dg14zxxwqj3w5z2pdvv1v960"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build?
|
||||
#t
|
||||
#:cargo-inputs
|
||||
(("rust-glib-sys" ,rust-glib-sys-0.14)
|
||||
("rust-gobject-sys" ,rust-gobject-sys-0.14)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-system-deps" ,rust-system-deps-3)
|
||||
("rust-winapi" ,rust-winapi-0.3))))
|
||||
(inputs
|
||||
(list glib))
|
||||
(home-page "https://gtk-rs.org/")
|
||||
(synopsis "FFI bindings to libgio-2.0")
|
||||
(description "This package provides FFI bindings to libgio-2.0.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-gio-sys-0.10
|
||||
(package
|
||||
(inherit rust-gio-sys-0.14)
|
||||
(name "rust-gio-sys")
|
||||
(version "0.10.1")
|
||||
(source
|
||||
|
@ -602,7 +631,6 @@
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1b2f6jvghm2djymj3qrgbqfci2f95gyhdin2pgv2qpcg5xszn92y"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
|
@ -610,13 +638,7 @@
|
|||
("rust-gobject-sys" ,rust-gobject-sys-0.10)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-system-deps" ,rust-system-deps-1)
|
||||
("rust-winapi" ,rust-winapi-0.3))))
|
||||
(inputs
|
||||
(list glib))
|
||||
(home-page "https://gtk-rs.org/")
|
||||
(synopsis "FFI bindings to libgio-2.0")
|
||||
(description "This package provides FFI bindings to libgio-2.0.")
|
||||
(license license:expat)))
|
||||
("rust-winapi" ,rust-winapi-0.3))))))
|
||||
|
||||
(define-public rust-gio-sys-0.9
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue