diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-01 16:13:59 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-18 11:35:41 +0300 |
commit | 55b3817d53174d2ae593ea139f866ee53a5528b8 (patch) | |
tree | c39dd6900443eb769f6aa87ba9e97e88195300c2 /gnu/packages | |
parent | e622d62f4aad29e390feb9e3053d780ed4a10f61 (diff) |
gnu: Add rust-gio-0.17.
* gnu/packages/crates-gtk.scm (rust-gio-0.17): New variable.
(rust-gio-0.15): Inherit from rust-gio-0.17.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 51 |
1 files changed, 42 insertions, 9 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index ca441e6e0a..fb46fedfad 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -858,36 +858,38 @@ (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gio-0.15 +(define-public rust-gio-0.17 (package (name "rust-gio") - (version "0.15.12") + (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "gio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fr8qiqjf9yzl8867kgqdsxpkcx2jrns3xwmlf0jfiid668brzb8")))) + (base32 "02nkqpq1a6ikzhv5x4nyfvzx8zk5dkjsjm50ns4qdybwjf93x5x6")))) (build-system cargo-build-system) (arguments - `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` - #:tests? #f + `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("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.15) - ("rust-glib" ,rust-glib-0.15) + ("rust-gio-sys" ,rust-gio-sys-0.17) + ("rust-glib" ,rust-glib-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) + ("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-util" ,rust-futures-util-0.3) + (("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-0.6)))) + ("rust-serial-test" ,rust-serial-test-1)))) (native-inputs (list pkg-config)) (inputs @@ -897,6 +899,37 @@ (description "Rust bindings for the Gio library") (license license:expat))) +(define-public rust-gio-0.15 + (package + (inherit rust-gio-0.17) + (name "rust-gio") + (version "0.15.12") + (source + (origin + (method url-fetch) + (uri (crate-uri "gio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fr8qiqjf9yzl8867kgqdsxpkcx2jrns3xwmlf0jfiid668brzb8")))) + (arguments + `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` + #:tests? #f + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("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.15) + ("rust-glib" ,rust-glib-0.15) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gir-format-check" ,rust-gir-format-check-0.1) + ("rust-serial-test" ,rust-serial-test-0.6)))))) + (define-public rust-gio-0.14 (package (inherit rust-gio-0.15) |