diff options
author | Milkey Mouse <milkeymouse@meme.institute> | 2021-08-31 20:54:11 -0700 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-07 22:01:13 +0200 |
commit | d1c54375bd923b400df376487172926c4aa4919f (patch) | |
tree | 688eb53b5a01c8420ab2d00443a144d4e2605210 /gnu/packages/crates-io.scm | |
parent | 2c8c3e285642a1d1ac488a91dc62d93533e323c5 (diff) |
gnu: Add rust-tls-parser-0.10.
* gnu/packages/crates-io.scm (rust-tls-parser-0.10): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 316cc42a91..a0f2ca3590 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26823,6 +26823,38 @@ based on Rustls and Ring.") (("rust-sema" ,rust-sema-0.1) ("rust-winit" ,rust-winit-0.19)))))) ; 0.17? +(define-public rust-tls-parser-0.10 + (package + (name "rust-tls-parser") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tls-parser" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1spgykvrxlzb059zzz1hzinc4vvkpixw9nd6p94vw3rimar5m68n")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;; requires assets not included in crates.io tarball + #:cargo-inputs + (("rust-cookie-factory" ,rust-cookie-factory-0.3) + ("rust-enum-primitive" ,rust-enum-primitive-0.1) + ("rust-nom" ,rust-nom-6) + ("rust-nom-derive" ,rust-nom-derive-0.7) + ("rust-phf" ,rust-phf-0.8) + ("rust-phf-codegen" ,rust-phf-codegen-0.8) + ("rust-rusticata-macros" ,rust-rusticata-macros-3)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) + (home-page "https://github.com/rusticata/tls-parser") + (synopsis "Parser for the TLS protocol") + (description "This package provides a Rust parser for the TLS protocol.") + (license (list license:expat license:asl2.0)))) + (define-public rust-twox-hash-1 (package (name "rust-twox-hash") |