summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-22 12:17:30 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:07 +0300
commit2ba8db96a49a59c8137d5c436678a3e4d06c7f86 (patch)
tree39d48e7f7422ce24be04448d7cf586d10b17103e /gnu
parent16b841734c98ba4f6e29acc714e88de945768f9d (diff)
downloadguix-2ba8db96a49a59c8137d5c436678a3e4d06c7f86.tar.gz
gnu: Add rust-botan-0.8.
* gnu/packages/crates-io.scm (rust-botan-0.8): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30b543837b..d63f1e7c27 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7969,6 +7969,28 @@ programs.")
         ("rust-parking" ,rust-parking-1)
         ("rust-waker-fn" ,rust-waker-fn-1))))))
 
+(define-public rust-botan-0.8
+  (package
+    (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"))))
+    (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))))
+    (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-sys-0.8
   (package
     (name "rust-botan-sys")