Subject: [bug#69624] [PATCH v2 8/8] gnu: Add rust-devise-0.3.

From: Aaron Covrig <[email-masked]>
Date: Fri, 5 Apr 2024 20:44:38 -0400

* gnu/packages/crates-io.scm (rust-devise-0.3): New variable.

Signed-off-by: Aaron Covrig <[email-masked]>
---
 gnu/packages/crates-io.scm | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2e1b4433e2..8bd20ffe01 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20894,10 +20894,26 @@ (define-public rust-devise-0.4
 procedural macros.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-devise-0.2
+(define-public rust-devise-0.3
   (package
     (inherit rust-devise-0.4)
     (name "rust-devise")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "devise" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "15dmibnykic2a1ndi66shyvxmpfysnhf05lg2iv8871g0w5miish"))))
+    (arguments
+     `(#:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.3)
+                       ("rust-devise-core" ,rust-devise-core-0.3))))))
+
+(define-public rust-devise-0.2
+  (package
+    (inherit rust-devise-0.3)
+    (name "rust-devise")
     (version "0.2.1")
     (source
      (origin
-- 
2.41.0