Subject: [PATCH 22/24]: gnu: just: New package.

From: Jean Pierre De Jesus DIAZ <[email-masked]>
Date: Wed, 20 Jul 2022 12:21:59 +0000

Empty Message

From 746e272e4415bb00a751ad62054692b5f308b53f Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Sun, 17 Jul 2022 22:58:58 +0200
Subject: [PATCH 22/24] gnu: rust-snafu-0.7: New package.

* gnu/packages/crates-io.scm (rust-snafu-0.7): New variable.
* gnu/packages/crates-io.scm (rust-snafu-0.6)[inherit]: Inherit
  `rust-snafu-0.7'.
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++------
 1 file changed, 28 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d8d5277596..b61fbc1b87 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57708,8 +57708,35 @@ (define-public rust-snafu-derive-0.6
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))))
 
+(define-public rust-snafu-0.7
+  (package
+    (name "rust-snafu")
+    (version "0.7.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "snafu" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1wjilhxn6wcvi2421ghxwnm27h4g80py5h5mkqnmjmjnyhxr0xsi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ; `whatever' requires a recent compiler.
+       #:cargo-inputs
+       (("rust-backtrace" ,rust-backtrace-0.3)
+        ("rust-doc-comment" ,rust-doc-comment-0.3)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("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
@@ -57719,7 +57746,6 @@ (define-public rust-snafu-0.6
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "19wwqxwb85pl040qk5xylj0vlznib3xzy9hcv2q0h8qv4qy2vcga"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-backtrace" ,rust-backtrace-0.3)
@@ -57728,11 +57754,7 @@ (define-public rust-snafu-0.6
         ("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))))
-    (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))))
+        ("rust-snafu-derive" ,rust-snafu-derive-0.6))))))
 
 (define-public rust-snailquote-0.3
   (package
-- 
2.36.1