From: Giacomo Leidi via Guix-patches via <guix-patches@gnu.org>
To: 74232@debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul@autistici.org>,
Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#74232] [PATCH rust-team 18/25] gnu: Add rust-zvariant-4.
Date: Wed, 6 Nov 2024 21:43:04 +0100 [thread overview]
Message-ID: <f6ed389cbad6d29095bafd909970a08758158b6d.1730925791.git.goodoldpaul@autistici.org> (raw)
In-Reply-To: <65269a0deca6af0c84975fffc88ed3525e6aa074.1730925790.git.goodoldpaul@autistici.org>
* gnu/packages/crates-io.scm (rust-zvariant-4): New variable;
(rust-zvariant-3): inherit from rust-zvariant-4.
Change-Id: I49410d45a5fb4878054f64fba7059d21688019f8
---
gnu/packages/crates-io.scm | 61 +++++++++++++++++++++++++++++++-------
1 file changed, 51 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 74cc7ff8eb..a3cfe55325 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -95484,8 +95484,58 @@ (define-public rust-zune-inflate-0.2
in Pure Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-zvariant-4
+ (package
+ (name "rust-zvariant")
+ (version "4.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "zvariant" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zl1ika7zd9bxkd0bqc78h9bykvk6xc98965iz1p3i51p452k110"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "Cargo.toml"
+ ;; Patch enumflags2 version
+ (("0\\.7\\.9") "0.7.7")
+ ;; Patch serde_repr version
+ (("0\\.1\\.19") "0.1.18"))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; overflow evaluating the requirement `PhantomData<Vec<u8>>:
+ #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-endi" ,rust-endi-1)
+ ("rust-enumflags2" ,rust-enumflags2-0.7)
+ ("rust-heapless" ,rust-heapless-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-static-assertions" ,rust-static-assertions-1)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-url" ,rust-url-2)
+ ("rust-uuid" ,rust-uuid-1.8)
+ ("rust-zvariant-derive" ,rust-zvariant-derive-4))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-glib" ,rust-glib-0.20)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-repr" ,rust-serde-repr-0.1))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list glib))
+ (home-page "https://github.com/dbus2/zbus/")
+ (synopsis "D-Bus & GVariant encoding & decoding")
+ (description "D-Bus & GVariant encoding & decoding")
+ (license license:expat)))
+
(define-public rust-zvariant-3
(package
+ (inherit rust-zvariant-4)
(name "rust-zvariant")
(version "3.15.0")
(source (origin
@@ -95495,7 +95545,6 @@ (define-public rust-zvariant-3
(sha256
(base32
"131kaczf10psc8clzlndcc52dym5vi4g22kqf0qwaq6rw2z93cj4"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; overflow evaluating the requirement `PhantomData<Vec<u8>>:
#:cargo-inputs
@@ -95516,15 +95565,7 @@ (define-public rust-zvariant-3
("rust-glib" ,rust-glib-0.17)
("rust-rand" ,rust-rand-0.8)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-serde-repr" ,rust-serde-repr-0.1))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list glib))
- (home-page "https://github.com/dbus2/zbus/")
- (synopsis "D-Bus & GVariant encoding & decoding")
- (description "D-Bus & GVariant encoding & decoding")
- (license license:expat)))
+ ("rust-serde-repr" ,rust-serde-repr-0.1))))))
(define-public rust-zvariant-2
(package
--
2.46.0
next prev parent reply other threads:[~2024-11-06 20:44 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-06 20:24 [bug#74232] [PATCH rust-team] Add rust-zbus-4 paul via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 01/25] gnu: rust-portable-atomic-util: Update to 0.2.3 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 02/25] gnu: Add rust-event-listener-5 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 03/25] gnu: Add rust-event-listener-strategy-0.5 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 04/25] gnu: Add rust-async-broadcast-0.7 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 05/25] gnu: Add rust-async-fs-2 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 06/25] gnu: Add rust-flaky-test-0.2 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 07/25] gnu: Add rust-smol-2 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 08/25] gnu: Add rust-async-task-4.7 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 09/25] gnu: Add rust-async-process-2 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 10/25] gnu: Add rust-tokio-vsock-0.4 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 11/25] gnu: Add rust-vsock-0.5 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 12/25] gnu: Add rust-zvariant-utils-2 Giacomo Leidi via Guix-patches via
2024-11-06 20:42 ` [bug#74232] [PATCH rust-team 13/25] gnu: Add rust-zbus-macros-4 Giacomo Leidi via Guix-patches via
2024-11-06 20:43 ` [bug#74232] [PATCH rust-team 14/25] gnu: Add rust-endi-1 Giacomo Leidi via Guix-patches via
2024-11-06 20:43 ` [bug#74232] [PATCH rust-team 15/25] gnu: Add rust-zvariant-derive-4 Giacomo Leidi via Guix-patches via
2024-11-06 20:43 ` [bug#74232] [PATCH rust-team 16/25] gnu: Add rust-uuid-macro-internal-1.8 Giacomo Leidi via Guix-patches via
2024-11-06 20:43 ` [bug#74232] [PATCH rust-team 17/25] gnu: Add rust-uuid-1.8 Giacomo Leidi via Guix-patches via
2024-11-06 20:43 ` Giacomo Leidi via Guix-patches via [this message]
2024-11-06 20:43 ` [bug#74232] [PATCH rust-team 19/25] gnu: Add rust-zbus-names-3 Giacomo Leidi via Guix-patches via
2024-11-06 20:43 ` [bug#74232] [PATCH rust-team 20/25] gnu: Add rust-async-executor-1.11 Giacomo Leidi via Guix-patches via
2024-11-06 20:43 ` [bug#74232] [PATCH rust-team 21/25] gnu: Add rust-blocking-1.6 Giacomo Leidi via Guix-patches via
2024-11-06 20:43 ` [bug#74232] [PATCH rust-team 22/25] gnu: Add rust-xdg-home-1.1 Giacomo Leidi via Guix-patches via
2024-11-06 20:43 ` [bug#74232] [PATCH rust-team 23/25] gnu: Add rust-zbus-xml-4 Giacomo Leidi via Guix-patches via
2024-11-06 20:43 ` [bug#74232] [PATCH rust-team 24/25] gnu: Add rust-async-recursion-1.1 Giacomo Leidi via Guix-patches via
2024-11-06 20:43 ` [bug#74232] [PATCH rust-team 25/25] gnu: Add rust-zbus-4 Giacomo Leidi via Guix-patches via
2024-11-11 10:08 ` bug#74232: [PATCH rust-team 01/25] gnu: rust-portable-atomic-util: Update to 0.2.3 Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f6ed389cbad6d29095bafd909970a08758158b6d.1730925791.git.goodoldpaul@autistici.org \
--to=guix-patches@gnu.org \
--cc=74232@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=goodoldpaul@autistici.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.