summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-22 16:33:43 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:37:51 +0300
commitf4d6ccb86c6a6143455236798098c9441cfae0d4 (patch)
tree9f79ba2afb61597e18271787e70ed037ddbd7f8f
parent7989177fa92323aa544d4d023222d48b1a3d8872 (diff)
downloadguix-f4d6ccb86c6a6143455236798098c9441cfae0d4.tar.gz
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.
-rw-r--r--gnu/packages/crates-io.scm27
1 files 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")