[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/12: gnu: Add rust-snafu-0.7.
From: |
guix-commits |
Subject: |
03/12: gnu: Add rust-snafu-0.7. |
Date: |
Thu, 28 Sep 2023 14:18:17 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 429294d95a12d22e510b5e88dc80b315852cdafb
Author: Andrew Jose <arnav.jose@gmail.com>
AuthorDate: Thu Sep 21 18:14:49 2023 +0530
gnu: Add rust-snafu-0.7.
* gnu/packages/crates-io.scm (rust-snafu-0.7): New variable.
(rust-snafu-0.6): Inherit from rust-snafu-0.7.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++------------
1 file changed, 32 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8b67e23932..80b3ccf3c6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62862,32 +62862,52 @@ package provides derive macros.")
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
-(define-public rust-snafu-0.6
+(define-public rust-snafu-0.7
(package
(name "rust-snafu")
- (version "0.6.10")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "snafu" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "19wwqxwb85pl040qk5xylj0vlznib3xzy9hcv2q0h8qv4qy2vcga"))))
+ (version "0.7.5")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "snafu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1mj2j2gfbf8mm1hr02zrbrqrh2zp01f61xgkx0lpln2w0ankgpp4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-backtrace" ,rust-backtrace-0.3)
("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-futures" ,rust-futures-0.3)
- ("rust-futures" ,rust-futures-0.1)
("rust-futures-core" ,rust-futures-core-0.3)
- ("rust-pin-project" ,rust-pin-project-0.4)
- ("rust-snafu-derive" ,rust-snafu-derive-0.6))))
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-snafu-derive" ,rust-snafu-derive-0.7))))
(home-page "https://github.com/shepmaster/snafu")
(synopsis "Ergonomic error handling library")
(description "Snafu aims to be an ergonomic error handling library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-snafu-0.6
+ (package
+ (inherit rust-snafu-0.7)
+ (name "rust-snafu")
+ (version "0.6.10")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "snafu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
"19wwqxwb85pl040qk5xylj0vlznib3xzy9hcv2q0h8qv4qy2vcga"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-pin-project" ,rust-pin-project-0.4)
+ ("rust-snafu-derive" ,rust-snafu-derive-0.6))))))
+
(define-public rust-snap-1
(package
(name "rust-snap")
- branch master updated (aa69d140d3 -> 36094ba021), guix-commits, 2023/09/28
- 02/12: gnu: Add rust-snafu-derive-0.7., guix-commits, 2023/09/28
- 01/12: gnu: Add rust-executable-path-1., guix-commits, 2023/09/28
- 03/12: gnu: Add rust-snafu-0.7.,
guix-commits <=
- 05/12: gnu: Add rust-strum-0.24., guix-commits, 2023/09/28
- 04/12: gnu: Add rust-lexiclean-0.0.1., guix-commits, 2023/09/28
- 06/12: gnu: Add rust-dotenvy-0.15., guix-commits, 2023/09/28
- 07/12: gnu: Add rust-cradle-0.2., guix-commits, 2023/09/28
- 08/12: gnu: Add rust-target-2., guix-commits, 2023/09/28
- 09/12: gnu: Add rust-temptree-0.2., guix-commits, 2023/09/28
- 11/12: gnu: just: Install manpage., guix-commits, 2023/09/28
- 12/12: gnu: just: Install shell completions., guix-commits, 2023/09/28
- 10/12: gnu: Add just., guix-commits, 2023/09/28