guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

242/379: gnu: Add rust-botan-0.10.


From: guix-commits
Subject: 242/379: gnu: Add rust-botan-0.10.
Date: Thu, 29 Jun 2023 12:34:40 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 3ef1d8c9ae7b563ca33988a99954dc6d3d7aea03
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 16:33:08 2023 +0300

    gnu: Add rust-botan-0.10.
    
    * gnu/packages/crates-io.scm (rust-botan-0.10): New variable.
    (rust-botan-0.8): Inherit from rust-botan-0.10.
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++------
 1 file changed, 25 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 527f309837..1fb7be415e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8233,28 +8233,47 @@ programs.")
         ("rust-parking" ,rust-parking-1)
         ("rust-waker-fn" ,rust-waker-fn-1))))))
 
-(define-public rust-botan-0.8
+(define-public rust-botan-0.10
   (package
     (name "rust-botan")
-    (version "0.8.1")
+    (version "0.10.3")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "botan" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
-               (base32 
"08bmiyn7c3b0dgx20w6hr28d9jcq7cj78cchr84pc686sb2s41ik"))))
+               (base32
+                "1vzl5pdysh848zpphsgvj9c40zdi3ynl32zzixsd8vg4vaflhb49"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-botan-sys" ,rust-botan-sys-0.8)
-        ("rust-cstr-core" ,rust-cstr-core-0.2)
-        ("rust-cty" ,rust-cty-0.2))))
+       (("rust-botan-sys" ,rust-botan-sys-0.10))
+       #:cargo-development-inputs
+       (("rust-hex" ,rust-hex-0.4)
+        ("rust-wycheproof" ,rust-wycheproof-0.5))))
     (inputs (list botan))
     (home-page "https://botan.randombit.net/";)
     (synopsis "Rust wrapper for Botan cryptography library")
     (description "Rust wrapper for Botan cryptography library")
     (license license:expat)))
 
+(define-public rust-botan-0.8
+  (package
+    (inherit rust-botan-0.10)
+    (name "rust-botan")
+    (version "0.8.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "botan" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"08bmiyn7c3b0dgx20w6hr28d9jcq7cj78cchr84pc686sb2s41ik"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-botan-sys" ,rust-botan-sys-0.8)
+        ("rust-cstr-core" ,rust-cstr-core-0.2)
+        ("rust-cty" ,rust-cty-0.2))))))
+
 (define-public rust-botan-sys-0.8
   (package
     (name "rust-botan-sys")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]