summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-01-10 19:32:31 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-21 00:44:19 +0100
commitefb8c66be600bc5074a2c39d5e130900d2f8735c (patch)
tree5d200bbe9e0df0017f10eeaf6a83bad5ad87f4a6 /gnu
parent7c48e19cd0568d2b0ec09dddaccb36a07d8e0c12 (diff)
gnu: Add rust-gio-sys-0.14.
* gnu/packages/crates-gtk.scm (rust-gio-sys-0.14): New variable. (rust-gio-sys-0.10): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-gtk.scm36
1 files changed, 29 insertions, 7 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 3fa14e4324..d0431f53df 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -591,25 +591,26 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
-(define-public rust-gio-sys-0.10
+(define-public rust-gio-sys-0.14
(package
(name "rust-gio-sys")
- (version "0.10.1")
+ (version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gio-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1b2f6jvghm2djymj3qrgbqfci2f95gyhdin2pgv2qpcg5xszn92y"))))
+ (base32 "1yj8dx2rna07av3jwyd93s832kw8dg14zxxwqj3w5z2pdvv1v960"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build?
+ #t
#:cargo-inputs
- (("rust-glib-sys" ,rust-glib-sys-0.10)
- ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ (("rust-glib-sys" ,rust-glib-sys-0.14)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.14)
("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-1)
+ ("rust-system-deps" ,rust-system-deps-3)
("rust-winapi" ,rust-winapi-0.3))))
(inputs
(list glib))
@@ -618,6 +619,27 @@
(description "This package provides FFI bindings to libgio-2.0.")
(license license:expat)))
+(define-public rust-gio-sys-0.10
+ (package
+ (inherit rust-gio-sys-0.14)
+ (name "rust-gio-sys")
+ (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 "1b2f6jvghm2djymj3qrgbqfci2f95gyhdin2pgv2qpcg5xszn92y"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-1)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-gio-sys-0.9
(package
(inherit rust-gio-sys-0.10)