[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
142/156: gnu: Add rust-sval-2.
From: |
guix-commits |
Subject: |
142/156: gnu: Add rust-sval-2. |
Date: |
Tue, 24 Oct 2023 08:53:08 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 41071ae4a9f2782fab4dabd9e8d3513035b28182
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 10:13:39 2023 +0300
gnu: Add rust-sval-2.
* gnu/packages/crates-io.scm (rust-sval-2): New variable.
(rust-sval-1): Inherit from rust-sval-2.
Change-Id: Idb4c69419c136a305496aed324390d77bfc89775
---
gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index be4a162216..28d3144ca9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72365,30 +72365,49 @@ values without proliferating generics.")
"Detects whether a terminal supports color, and gives details about that
support.")
(license license:asl2.0)))
-(define-public rust-sval-1
+(define-public rust-sval-2
(package
(name "rust-sval")
- (version "1.0.0-alpha.5")
+ (version "2.10.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "sval" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "025sy290xnn56nl15qkrkq0whxcwlvb4bzp996azbjl7gdyfxxj5"))))
+ (base32 "0wq8dpcwkxf9i5ivaqgi736kalqdsn88yhsb9fh1dhmpilmg2pdi"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:tests? #f ; can't find crate for `sval_derive_macros`
#:cargo-inputs
- (("rust-serde" ,rust-serde-1)
- ("rust-smallvec" ,rust-smallvec-1)
- ("rust-sval-derive" ,rust-sval-derive-1))))
+ (("rust-sval-derive-macros" ,rust-sval-derive-macros-2))
+ #:cargo-development-inputs
+ (("rust-humantime" ,rust-humantime-2))))
(home-page "https://github.com/sval-rs/sval")
(synopsis "No-std, object-safe serialization framework")
(description
"This package provides a no-std, object-safe serialization framework.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-sval-1
+ (package
+ (inherit rust-sval-2)
+ (name "rust-sval")
+ (version "1.0.0-alpha.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sval" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "025sy290xnn56nl15qkrkq0whxcwlvb4bzp996azbjl7gdyfxxj5"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-sval-derive" ,rust-sval-derive-1))))))
+
(define-public rust-sval-buffer-2
(package
(name "rust-sval-buffer")
- 93/156: gnu: Add rust-gix-revision-0.15., (continued)
- 93/156: gnu: Add rust-gix-revision-0.15., guix-commits, 2023/10/24
- 96/156: gnu: Add rust-gix-quote-0.4., guix-commits, 2023/10/24
- 113/156: gnu: Add rust-gix-features-0.30., guix-commits, 2023/10/24
- 120/156: gnu: Add rust-gix-commitgraph-0.16., guix-commits, 2023/10/24
- 125/156: gnu: Add rust-gix-actor-0.21., guix-commits, 2023/10/24
- 122/156: gnu: Add rust-gix-chunk-0.4., guix-commits, 2023/10/24
- 132/156: gnu: Add rust-sval-derive-2., guix-commits, 2023/10/24
- 133/156: gnu: Add rust-sval-test-2., guix-commits, 2023/10/24
- 136/156: gnu: Add rust-sval-json-2., guix-commits, 2023/10/24
- 140/156: gnu: Add rust-sval-derive-macros-2., guix-commits, 2023/10/24
- 142/156: gnu: Add rust-sval-2.,
guix-commits <=
- 143/156: gnu: Add rust-value-bag-sval2-1., guix-commits, 2023/10/24
- 149/156: gnu: rust-serde-with-macros-3: Update to 3.4.0., guix-commits, 2023/10/24
- 148/156: gnu: rust-xml-rs-0.8: Update to 0.8.19., guix-commits, 2023/10/24
- 153/156: gnu: rust-bitflags-1: Update comments., guix-commits, 2023/10/24
- 151/156: gnu: rust-xremap: Remove older dependencies workaround., guix-commits, 2023/10/24
- 156/156: gnu: rust-y4m-0.7: Don't skip build., guix-commits, 2023/10/24
- 59/156: gnu: Add rust-windows-interface-0.44., guix-commits, 2023/10/24
- 64/156: gnu: Add rust-tui-react-0.20., guix-commits, 2023/10/24
- 65/156: gnu: Add rust-symlink-0.1., guix-commits, 2023/10/24
- 66/156: gnu: Add rust-rustc-hex-1., guix-commits, 2023/10/24