guix-commits
[Top][All Lists]
Advanced

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

253/470: gnu: Add rust-botan-0.8.


From: guix-commits
Subject: 253/470: gnu: Add rust-botan-0.8.
Date: Thu, 16 Mar 2023 03:01:21 -0400 (EDT)

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

commit 77c709b7f7ad25838f34bc40fc158175cfb1f643
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 12:17:30 2023 +0200

    gnu: Add rust-botan-0.8.
    
    * gnu/packages/crates-io.scm (rust-botan-0.8): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c7a5aca8ef..d1e5f6df4a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7807,6 +7807,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")



reply via email to

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