summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-04 16:19:12 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-05 14:45:12 +0100
commit72e5286f7a1b8c962d90d2b0ffc23685c749c6ef (patch)
tree8c9377019b16b370994702f73048574d72fa7c9d
parent500e6afc07ee4b2771064156552ea8d854a96ada (diff)
gnu: Add rust-gio-sys-0.10.
* gnu/packages/crates-gtk.scm (rust-gio-sys-0.10): New variable. (rust-gio-sys-0.9): inherit from above.
-rw-r--r--gnu/packages/crates-gtk.scm53
1 files changed, 36 insertions, 17 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 02d5a6c204..2ced9ddf69 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -426,30 +426,26 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
-(define-public rust-gio-sys-0.9
+(define-public rust-gio-sys-0.10
(package
(name "rust-gio-sys")
- (version "0.9.1")
+ (version "0.10.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "gio-sys" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "049rafihxp3maxg3fwj6062ni9dcfilvhfq6ibnfgsmr89925bag"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1b2f6jvghm2djymj3qrgbqfci2f95gyhdin2pgv2qpcg5xszn92y"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Some test libraries not included in release.
+ `(#:skip-build? #t
#:cargo-inputs
- (("rust-glib-sys" ,rust-glib-sys-0.9)
- ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+ (("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.10)
("rust-libc" ,rust-libc-0.2)
- ("rust-pkg-config" ,rust-pkg-config-0.3))
- #:cargo-development-inputs
- (("rust-shell-words" ,rust-shell-words-0.1)
- ("rust-tempfile" ,rust-tempfile-3))))
+ ("rust-system-deps" ,rust-system-deps-1)
+ ("rust-winapi" ,rust-winapi-0.3))))
(inputs
`(("glib" ,glib)))
(home-page "http://gtk-rs.org/")
@@ -457,6 +453,29 @@
(description "This package provides FFI bindings to libgio-2.0.")
(license license:expat)))
+(define-public rust-gio-sys-0.9
+ (package
+ (inherit rust-gio-sys-0.10)
+ (name "rust-gio-sys")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "049rafihxp3maxg3fwj6062ni9dcfilvhfq6ibnfgsmr89925bag"))))
+ (arguments
+ `(#:tests? #f ; Some test libraries not included in release.
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.9)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-gir-format-check-0.1
(package
(name "rust-gir-format-check")