mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-gtk-sys-0.18.
* gnu/packages/crates-gtk.scm (rust-gtk-sys-0.18): New variable. (rust-gtk-sys-0.14): Inherit from rust-gtk-sys-0.18. Change-Id: I4a2ed868b593e30e6508ad82bea23f8f57e7baa8 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
a769b70120
commit
6dff90801f
1 changed files with 37 additions and 9 deletions
|
@ -3637,8 +3637,44 @@
|
||||||
"LGPL-licensed docs for Gtk-rs crates.")
|
"LGPL-licensed docs for Gtk-rs crates.")
|
||||||
(license license:lgpl2.0)))
|
(license license:lgpl2.0)))
|
||||||
|
|
||||||
|
(define-public rust-gtk-sys-0.18
|
||||||
|
(package
|
||||||
|
(name "rust-gtk-sys")
|
||||||
|
(version "0.18.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "gtk-sys" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "08kpdl7ldj8lyv4dyhp9pdk61qj8yyyha5f1jssc1hg23nzkf53p"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-test-flags (list "--release" "--"
|
||||||
|
"--skip=cross_validate_layout_with_c")
|
||||||
|
#:cargo-inputs (("rust-atk-sys" ,rust-atk-sys-0.18)
|
||||||
|
("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18)
|
||||||
|
("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18)
|
||||||
|
("rust-gdk-sys" ,rust-gdk-sys-0.18)
|
||||||
|
("rust-gio-sys" ,rust-gio-sys-0.18)
|
||||||
|
("rust-glib-sys" ,rust-glib-sys-0.18)
|
||||||
|
("rust-gobject-sys" ,rust-gobject-sys-0.18)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-pango-sys" ,rust-pango-sys-0.18)
|
||||||
|
("rust-system-deps" ,rust-system-deps-6))
|
||||||
|
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
|
||||||
|
("rust-tempfile" ,rust-tempfile-3))))
|
||||||
|
(native-inputs (list pkg-config))
|
||||||
|
(inputs
|
||||||
|
(list gtk+))
|
||||||
|
(home-page "https://gtk-rs.org/")
|
||||||
|
(synopsis "FFI bindings to libgtk-3")
|
||||||
|
(description "This package provides FFI bindings to libgtk-3.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-gtk-sys-0.14
|
(define-public rust-gtk-sys-0.14
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-gtk-sys-0.18)
|
||||||
(name "rust-gtk-sys")
|
(name "rust-gtk-sys")
|
||||||
(version "0.14.0")
|
(version "0.14.0")
|
||||||
(source
|
(source
|
||||||
|
@ -3648,7 +3684,6 @@
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0gihp9zh4z7lycp0zbmq1w0k9ddbnd2h64jsgid7hi85vb9wh54c"))))
|
(base32 "0gihp9zh4z7lycp0zbmq1w0k9ddbnd2h64jsgid7hi85vb9wh54c"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;missing files
|
`(#:tests? #f ;missing files
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
|
@ -3664,14 +3699,7 @@
|
||||||
("rust-system-deps" ,rust-system-deps-3))
|
("rust-system-deps" ,rust-system-deps-3))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-shell-words" ,rust-shell-words-1)
|
(("rust-shell-words" ,rust-shell-words-1)
|
||||||
("rust-tempfile" ,rust-tempfile-3))))
|
("rust-tempfile" ,rust-tempfile-3))))))
|
||||||
(native-inputs (list pkg-config))
|
|
||||||
(inputs
|
|
||||||
(list gtk+))
|
|
||||||
(home-page "https://gtk-rs.org/")
|
|
||||||
(synopsis "FFI bindings to libgtk-3")
|
|
||||||
(description "This package provides FFI bindings to libgtk-3.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-gtk-sys-0.10
|
(define-public rust-gtk-sys-0.10
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue