aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:22:49 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:06 +0300
commit663c69855a8b33a6f06051de08337c16a1788c1a (patch)
treed40dd898cf8c7b184a8114a4a31a86741a8ab1b6 /gnu/packages/crates-io.scm
parent24848450190effbf08204df6b926dea59e6873ce (diff)
downloadpatches-663c69855a8b33a6f06051de08337c16a1788c1a.tar
patches-663c69855a8b33a6f06051de08337c16a1788c1a.tar.gz
gnu: Add rust-schannel.
* gnu/packages/crates-io.scm (rust-schannel): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b5b12e392..e83322449a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1162,6 +1162,30 @@ paths point to the same file.")
(license (list license:unlicense
license:expat))))
+(define-public rust-schannel
+ (package
+ (name "rust-schannel")
+ (version "0.1.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "schannel" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static)
+ ("rust-winapi" ,rust-winapi))))
+ (home-page "https://github.com/steffengy/schannel-rs")
+ (synopsis "Rust bindings to the Windows SChannel APIs")
+ (description
+ "Rust bindings to the Windows SChannel APIs providing TLS client and
+server functionality.")
+ (license license:expat)))
+
(define-public rust-scoped-tls
(package
(name "rust-scoped-tls")