[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/127: gnu: Add rust-glib-0.18.
From: |
guix-commits |
Subject: |
53/127: gnu: Add rust-glib-0.18. |
Date: |
Tue, 26 Dec 2023 06:42:42 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 39c788ef543dbb23240ec11b668eaa95e34171f2
Author: Sergio Pastor PĂ©rez <sergio.pastorperez@outlook.es>
AuthorDate: Tue Nov 28 22:11:44 2023 +0100
gnu: Add rust-glib-0.18.
* gnu/packages/crates-gtk.scm (rust-glib-0.18): New variable.
(rust-glib-0.17): Inherit from rust-glib-0.18.
Change-Id: Id438a37765cc5b00145503401191f37259b3cdc8
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-gtk.scm | 55 ++++++++++++++++++++++++++++++++++++---------
1 file changed, 45 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 424da56e7a..7799cd397e 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1225,8 +1225,52 @@
(description "File format checker in Rust.")
(license license:expat)))
+(define-public rust-glib-0.18
+ (package
+ (name "rust-glib")
+ (version "0.18.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06dxrhispzz20n33b5k2gg723p27rprc87xbxb2ng06f07xnlc8w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-futures-task" ,rust-futures-task-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gio-sys" ,rust-gio-sys-0.18)
+ ("rust-glib-macros" ,rust-glib-macros-0.18)
+ ("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.4)
+ ("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-trybuild2" ,rust-trybuild2-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GLib library")
+ (description "Rust bindings for the GLib library.")
+ (license license:expat)))
+
(define-public rust-glib-0.17
(package
+ (inherit rust-glib-0.18)
(name "rust-glib")
(version "0.17.10")
(source (origin
@@ -1236,7 +1280,6 @@
(sha256
(base32
"0jqlipn9zixj8fpqlg45v0f06j2ghdz72cml2akcxlnlm1dx9ynk"))))
- (build-system cargo-build-system)
(arguments
`(;; XXX: Tests are sensitive to the version of glib, even though
;; the library supports a wide range. Skip for now.
@@ -1262,15 +1305,7 @@
(("rust-criterion" ,rust-criterion-0.4)
("rust-gir-format-check" ,rust-gir-format-check-0.1)
("rust-tempfile" ,rust-tempfile-3)
- ("rust-trybuild2" ,rust-trybuild2-1))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GLib library")
- (description "Rust bindings for the GLib library")
- (license license:expat)))
+ ("rust-trybuild2" ,rust-trybuild2-1))))))
(define-public rust-glib-0.15
(package
- 103/127: gnu: Add rust-quick-xml-0.31., (continued)
- 103/127: gnu: Add rust-quick-xml-0.31., guix-commits, 2023/12/26
- 111/127: gnu: Add rust-palette-0.7., guix-commits, 2023/12/26
- 113/127: gnu: Add rust-topology-traits-0.1., guix-commits, 2023/12/26
- 112/127: gnu: Add rust-rand-mt-4., guix-commits, 2023/12/26
- 118/127: gnu: eza: Refactor package definition., guix-commits, 2023/12/26
- 117/127: gnu: eza: Update to 0.17.0., guix-commits, 2023/12/26
- 120/127: gnu: rust-regex-syntax-0.7: Update to 0.7.5., guix-commits, 2023/12/26
- 121/127: gnu: rust-regex-automata-0.3: Update to 0.3.9., guix-commits, 2023/12/26
- 126/127: gnu: just: Update to 1.17.0., guix-commits, 2023/12/26
- 52/127: gnu: Add rust-glib-macros-0.18., guix-commits, 2023/12/26
- 53/127: gnu: Add rust-glib-0.18.,
guix-commits <=
- 60/127: gnu: Add rust-pango-sys-0.18., guix-commits, 2023/12/26
- 62/127: gnu: rust-const-random-macro-0.1: Update to 0.1.16., guix-commits, 2023/12/26
- 83/127: gnu: Add rust-windows-aarch64-msvc-0.52., guix-commits, 2023/12/26
- 77/127: gnu: Add rust-rstest-0.17., guix-commits, 2023/12/26
- 114/127: gnu: Add rust-assert-float-eq-1., guix-commits, 2023/12/26
- 119/127: gnu: Remove exa., guix-commits, 2023/12/26
- 123/127: gnu: rust-heck-0.3: Don't skip build., guix-commits, 2023/12/26
- 127/127: gnu: librsvg: Improve cross compiling., guix-commits, 2023/12/26
- 45/127: gnu: Add rust-smol-str-0.2., guix-commits, 2023/12/26
- 51/127: gnu: Add rust-gio-sys-0.18., guix-commits, 2023/12/26