guix-commits
[Top][All Lists]
Advanced

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

243/379: gnu: Add rust-botan-sys-0.10.


From: guix-commits
Subject: 243/379: gnu: Add rust-botan-sys-0.10.
Date: Mon, 10 Jul 2023 05:28:52 -0400 (EDT)

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cccd2b9172..216c3d3710 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8274,27 +8274,42 @@ programs.")
         ("rust-cstr-core" ,rust-cstr-core-0.2)
         ("rust-cty" ,rust-cty-0.2))))))
 
-(define-public rust-botan-sys-0.8
+(define-public rust-botan-sys-0.10
   (package
     (name "rust-botan-sys")
-    (version "0.8.1")
+    (version "0.10.3")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "botan-sys" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
-               (base32 
"1m11zblxfanrhl97j7z3ap7n17rr8j0rg91sr7f9j6y2bsniaz1x"))))
+               (base32
+                "1cbjr44gc5dhmgl43sfiqzbsma4anfi3h26m4yzsli23yd1lmyf8"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-botan-src" ,rust-botan-src-0.21703)
-        ("rust-cty" ,rust-cty-0.2))))
+     `(#:cargo-inputs (("rust-botan-src" ,rust-botan-src-0.21903))))
     (inputs (list botan))
     (home-page "https://botan.randombit.net/";)
     (synopsis "FFI wrapper for Botan cryptography library")
     (description "FFI wrapper for Botan cryptography library")
     (license license:expat)))
 
+(define-public rust-botan-sys-0.8
+  (package
+    (inherit rust-botan-sys-0.10)
+    (name "rust-botan-sys")
+    (version "0.8.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "botan-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"1m11zblxfanrhl97j7z3ap7n17rr8j0rg91sr7f9j6y2bsniaz1x"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-botan-src" ,rust-botan-src-0.21703)
+        ("rust-cty" ,rust-cty-0.2))))))
+
 (define-public rust-botan-src-0.21903
   (package
     (name "rust-botan-src")



reply via email to

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