[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
394/422: gnu: Add rust-serde-with-macros-2.
From: |
guix-commits |
Subject: |
394/422: gnu: Add rust-serde-with-macros-2. |
Date: |
Wed, 6 Nov 2024 04:03:13 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 9b9e93eac125d38d916f76e9644b092fa9f96a99
Author: Wilko Meyer <w@wmeyer.eu>
AuthorDate: Fri Oct 18 01:56:37 2024 +0200
gnu: Add rust-serde-with-macros-2.
* gnu/packages/crates-io.scm (rust-serde-with-macros-2): New variable.
Change-Id: Ie249f2a21f79b913d3ebd72fece2839d1c6b610c
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 79b30fcaac..1dde365754 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71928,6 +71928,36 @@ Rust's serde.")
@code{serde_with}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-serde-with-macros-2
+ (package
+ (inherit rust-serde-with-macros-3)
+ (name "rust-serde-with-macros")
+ (version "2.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde_with_macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pv9wy1aihsaklg83qac4q0ksimbxcwwk56lwla35l8p3f46y6w8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--"
+ ;; Not all files included.
+ "--skip=test_serde_with_dependency")
+ #:cargo-inputs (("rust-darling" ,rust-darling-0.20)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))
+ #:cargo-development-inputs
+ (("rust-expect-test" ,rust-expect-test-1)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-version-sync" ,rust-version-sync-0.9))))))
+
(define-public rust-serde-with-macros-1
(package
(inherit rust-serde-with-macros-3)
- 306/422: gnu: Add rust-windows-0.58., (continued)
- 306/422: gnu: Add rust-windows-0.58., guix-commits, 2024/11/06
- 332/422: gnu: Add rust-gix-filter-0.13., guix-commits, 2024/11/06
- 339/422: gnu: Add rust-gix-index-0.35., guix-commits, 2024/11/06
- 345/422: gnu: Add rust-gix-negotiate-0.15., guix-commits, 2024/11/06
- 350/422: gnu: Add rust-gix-protocol-0.45., guix-commits, 2024/11/06
- 352/422: gnu: Add rust-gix-refspec-0.25., guix-commits, 2024/11/06
- 363/422: gnu: Add rust-lockfree-object-pool-0.1., guix-commits, 2024/11/06
- 366/422: gnu: rust-crc32fast-1: Update to 1.4.2., guix-commits, 2024/11/06
- 375/422: gnu: rust-flate2-1: Update to 1.0.30., guix-commits, 2024/11/06
- 376/422: gnu: rust-thiserror-impl-1: Update to 1.0.64., guix-commits, 2024/11/06
- 394/422: gnu: Add rust-serde-with-macros-2.,
guix-commits <=
- 356/422: gnu: Add rust-gix-worktree-stream-0.15., guix-commits, 2024/11/06
- 408/422: gnu: rust-regex-syntax-0.8: Update to 0.8.5., guix-commits, 2024/11/06
- 410/422: gnu: rust-regex-1: Update to 1.11.0., guix-commits, 2024/11/06
- 397/422: gnu: Add rust-usb-ids-1., guix-commits, 2024/11/06
- 398/422: gnu: Add cyme., guix-commits, 2024/11/06
- 412/422: gnu: rust-critical-section-1: Update to 1.1.3., guix-commits, 2024/11/06
- 415/422: gnu: newsboat: Update to 2.36.1., guix-commits, 2024/11/06
- 416/422: gnu: complgen: Don't install the sources., guix-commits, 2024/11/06
- 417/422: gnu: complgen: Build with git-minimal., guix-commits, 2024/11/06
- 419/422: gnu: Add rust-hidapi-2., guix-commits, 2024/11/06