diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-07-06 20:02:17 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-06 21:54:04 +0300 |
commit | 4586b7620a6a8c4061b1dea812794892dc9c8616 (patch) | |
tree | bf14f01547f5615c7b472048d3dbf5894857bd9c /gnu/packages | |
parent | 8285f31068b1923364a1447820780a8ff83efec9 (diff) | |
download | guix-4586b7620a6a8c4061b1dea812794892dc9c8616.tar.gz |
gnu: Add rust-gio-0.8.
* gnu/packages/crates-io.scm (rust-gio-0.8): New variable. (rust-gio-0.7): Inherit from rust-gio-0.8.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 50 |
1 files changed, 42 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0f8df3baba..cba0adaf48 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8574,10 +8574,10 @@ retrieving random data from system source.") DWARF debugging format.") (license (list license:asl2.0 license:expat)))) -(define-public rust-gio-0.7 +(define-public rust-gio-0.8 (package (name "rust-gio") - (version "0.7.0") + (version "0.8.1") (source (origin (method url-fetch) @@ -8586,22 +8586,27 @@ DWARF debugging format.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1qv0wc1hqyb81c03h81s3xrl9jslrw23fr4yhygxbhih9k9vaqb2")))) + "19cnla2ya0mi6wwaabd5mxbq2kzq46dg6jq2z19rpqyc2na0zl8c")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:tests? #f ; Not all files included in the tarball. + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-fragile" ,rust-fragile-0.3) - ("rust-futures-preview" ,rust-futures-preview-0.3) + ("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.9) - ("rust-glib" ,rust-glib-0.8) + ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (("rust-gir-format-check" ,rust-gir-format-check-0.1) + ("rust-serial-test" ,rust-serial-test-0.1) + ("rust-serial-test-derive" ,rust-serial-test-derive-0.1)))) (inputs `(("glib" ,glib))) (home-page "https://gtk-rs.org/") @@ -8609,6 +8614,35 @@ DWARF debugging format.") (description "Rust bindings for the Gio library.") (license license:expat))) +(define-public rust-gio-0.7 + (package + (inherit rust-gio-0.8) + (name "rust-gio") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gio" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qv0wc1hqyb81c03h81s3xrl9jslrw23fr4yhygxbhih9k9vaqb2")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-fragile" ,rust-fragile-0.3) + ("rust-futures-preview" ,rust-futures-preview-0.3) + ("rust-gio-sys" ,rust-gio-sys-0.9) + ("rust-glib" ,rust-glib-0.8) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) + (define-public rust-gio-sys-0.9 (package (name "rust-gio-sys") |