[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/12: gnu: Add rust-snafu-derive-0.7.
From: |
guix-commits |
Subject: |
02/12: gnu: Add rust-snafu-derive-0.7. |
Date: |
Thu, 28 Sep 2023 14:18:16 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit dd77ec804f5f02d06fe60b3da527e0812bfb45b7
Author: Andrew Jose <arnav.jose@gmail.com>
AuthorDate: Thu Sep 21 18:14:48 2023 +0530
gnu: Add rust-snafu-derive-0.7.
* gnu/packages/crates-io.scm (rust-snafu-derive-0.7): New variable.
(rust-snafu-derive-0.6): Inherit from rust-snafu-derive-0.7.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
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 ab29c86989..8b67e23932 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62820,8 +62820,33 @@ monotone matrix.")
clone.")
(license (list license:expat license:asl2.0))))
+(define-public rust-snafu-derive-0.7
+ (package
+ (name "rust-snafu-derive")
+ (version "0.7.5")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "snafu-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1gzy9rzggs090zf7hfvgp4lm1glrmg9qzh796686jnq7bxk7j04r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/shepmaster/snafu")
+ (synopsis "Ergonomic error handling library")
+ (description "Snafu aims to be an ergonomic error handling library. This
+package provides derive macros.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-snafu-derive-0.6
(package
+ (inherit rust-snafu-derive-0.7)
(name "rust-snafu-derive")
(version "0.6.10")
(source
@@ -62831,17 +62856,11 @@ clone.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0nri7ma06g5kimpcdcm8359a55nmps5f3kcngy0j6bin7jhfy20m"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/shepmaster/snafu")
- (synopsis "Ergonomic error handling library")
- (description "Snafu aims to be an ergonomic error handling library. This
-package provides derive macros.")
- (license (list license:expat license:asl2.0))))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-snafu-0.6
(package
- branch master updated (aa69d140d3 -> 36094ba021), guix-commits, 2023/09/28
- 02/12: gnu: Add rust-snafu-derive-0.7.,
guix-commits <=
- 01/12: gnu: Add rust-executable-path-1., guix-commits, 2023/09/28
- 03/12: gnu: Add rust-snafu-0.7., guix-commits, 2023/09/28
- 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