summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-08-02 19:32:25 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:16 +0300
commit0766da728bd21179521a4ad028a1c319376cb895 (patch)
treefafe48707773f3c4a5c5f0e4c4c7eee1fcda2eed /gnu/packages/crates-gtk.scm
parent89ab3af547236b61b3d1f1e0546096976150f29a (diff)
gnu: Add rust-glib-sys-0.17.
* gnu/packages/crates-gtk.scm (rust-glib-sys-0.17): New variable. (rust-glib-sys-0.15): Inherit from rust-glib-sys-0.17.
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r--gnu/packages/crates-gtk.scm29
1 files changed, 26 insertions, 3 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 6cd9a77e50..a27ea1bbd6 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1341,17 +1341,17 @@
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
-(define-public rust-glib-sys-0.15
+(define-public rust-glib-sys-0.17
(package
(name "rust-glib-sys")
- (version "0.15.10")
+ (version "0.17.10")
(source (origin
(method url-fetch)
(uri (crate-uri "glib-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1m5sqm69fdk8vaw6hggyizhs1r1vivx73splrdvczsb5iqpijjzg"))))
+ "1w64ppa12s9ky6gfdaqhq9w30ad6hskll812jb3sl2xsggmac2nq"))))
(build-system cargo-build-system)
(arguments
`(;; XXX: Tests are sensitive to the version of glib, even though
@@ -1372,6 +1372,29 @@
(description "This package provides FFI bindings to libglib-2.0.")
(license license:expat)))
+(define-public rust-glib-sys-0.15
+ (package
+ (inherit rust-glib-sys-0.17)
+ (name "rust-glib-sys")
+ (version "0.15.10")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "glib-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1m5sqm69fdk8vaw6hggyizhs1r1vivx73splrdvczsb5iqpijjzg"))))
+ (arguments
+ `(;; XXX: Tests are sensitive to the version of glib, even though
+ ;; the library supports a wide range. Skip for now.
+ #:tests? #f
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-glib-sys-0.14
(package
(inherit rust-glib-sys-0.15)