mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 09:37:03 +01:00
gnu: Add rust-gio-0.19.
* gnu/packages/crates-gtk.scm (rust-gio-0.19): New variable. (rust-gio-0.18): Inherit from rust-gio-0.19. Change-Id: Ia78e2a74deef816d67494e668679590da155c13f
This commit is contained in:
parent
f0b6133168
commit
9ee72220bb
1 changed files with 41 additions and 8 deletions
|
@ -1092,8 +1092,48 @@ (define-public rust-gdk4-sys-0.7
|
|||
(description "This package provides FFI bindings of GDK 4.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-gio-0.19
|
||||
(package
|
||||
(name "rust-gio")
|
||||
(version "0.19.8")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "gio" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1znz5ngfvv3gbndf6lzz3hs27hlb8ysls4axlfccrzvkscbz2jac"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-test-flags
|
||||
'("--release" "--"
|
||||
"--skip=settings::test::bool_set_get"
|
||||
"--skip=settings::test::string_get")
|
||||
#:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3)
|
||||
("rust-futures-core" ,rust-futures-core-0.3)
|
||||
("rust-futures-io" ,rust-futures-io-0.3)
|
||||
("rust-futures-util" ,rust-futures-util-0.3)
|
||||
("rust-gio-sys" ,rust-gio-sys-0.19)
|
||||
("rust-glib" ,rust-glib-0.19)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
|
||||
("rust-smallvec" ,rust-smallvec-1)
|
||||
("rust-thiserror" ,rust-thiserror-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-futures" ,rust-futures-0.3)
|
||||
("rust-futures-util" ,rust-futures-util-0.3)
|
||||
("rust-gir-format-check" ,rust-gir-format-check-0.1)
|
||||
("rust-serial-test" ,rust-serial-test-3))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list glib))
|
||||
(home-page "https://gtk-rs.org/")
|
||||
(synopsis "Rust bindings for the Gio library")
|
||||
(description "This package provides Rust bindings for the Gio library.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-gio-0.18
|
||||
(package
|
||||
(inherit rust-gio-0.19)
|
||||
(name "rust-gio")
|
||||
(version "0.18.4")
|
||||
(source
|
||||
|
@ -1103,7 +1143,6 @@ (define-public rust-gio-0.18
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0wsc6mnx057s4ailacg99dwgna38dbqli5x7a6y9rdw75x9qzz6l"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-test-flags
|
||||
'("--release" "--"
|
||||
|
@ -1125,13 +1164,7 @@ (define-public rust-gio-0.18
|
|||
(("rust-futures" ,rust-futures-0.3)
|
||||
("rust-futures-util" ,rust-futures-util-0.3)
|
||||
("rust-gir-format-check" ,rust-gir-format-check-0.1)
|
||||
("rust-serial-test" ,rust-serial-test-2))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list glib))
|
||||
(home-page "https://gtk-rs.org/")
|
||||
(synopsis "Rust bindings for the Gio library")
|
||||
(description "Rust bindings for the Gio library.")
|
||||
(license license:expat)))
|
||||
("rust-serial-test" ,rust-serial-test-2))))))
|
||||
|
||||
(define-public rust-gio-0.17
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue