[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
57/68: gnu: Add rust-tls-codec-0.4.
From: |
guix-commits |
Subject: |
57/68: gnu: Add rust-tls-codec-0.4. |
Date: |
Wed, 20 Mar 2024 11:24:39 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit c19e460b874378f954fcc0834f5a869ef5a1f65a
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:09:07 2024 +0100
gnu: Add rust-tls-codec-0.4.
* gnu/packages/crates-crypto.scm (rust-tls-codec-0.4): Add variable.
Change-Id: I672e82a8af7eb805e49c159ae61f078cf6931d9b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-crypto.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index ab3fd94eff..9660b8430f 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -6150,6 +6150,42 @@ cryptographic implementations.")
"This package provides the Tiger cryptographic hash function.")
(license (list license:expat license:asl2.0))))
+(define-public rust-tls-codec-0.4
+ (package
+ (name "rust-tls-codec")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tls_codec" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0spv5d8gjpmil4x14d8jk6wps59r4y7kdj77par8b30g6ff8rrxm"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+ (string-append "\"^" version)))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tls-codec-derive" ,rust-tls-codec-derive-0.4)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-anstyle" ,rust-anstyle-1)
+ ("rust-anstyle-parse" ,rust-anstyle-parse-0.2)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-clap-lex" ,rust-clap-lex-0.5)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/RustCrypto/formats/tree/master/tls_codec")
+ (synopsis "Rust implementation of TLS (de)serialization")
+ (description
+ "This package provides a Rust implementation of TLS serialization
+and deserialization.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-tls-codec-derive-0.4
(package
(name "rust-tls-codec-derive")
- 50/68: gnu: rust-trust-dns-openssl-0.18: Downgrade to 0.18.0-alpha.2., (continued)
- 50/68: gnu: rust-trust-dns-openssl-0.18: Downgrade to 0.18.0-alpha.2., guix-commits, 2024/03/20
- 51/68: gnu: rust-trust-dns-https-0.18: Downgrade to 0.18.0-alpha.2., guix-commits, 2024/03/20
- 54/68: gnu: Add rust-serde-with-macros-1., guix-commits, 2024/03/20
- 64/68: gnu: Add rust-pkcs7-0.4., guix-commits, 2024/03/20
- 68/68: gnu: Add rust-web-time-1., guix-commits, 2024/03/20
- 66/68: gnu: Add rust-deadpool-sync-0.1., guix-commits, 2024/03/20
- 29/68: gnu: Add rust-config-0.13., guix-commits, 2024/03/20
- 59/68: gnu: rust-anstyle-parse-0.2: Update to 0.2.3., guix-commits, 2024/03/20
- 34/68: gnu: rust-ordered-float-3: Update to 3.9.2., guix-commits, 2024/03/20
- 44/68: gnu: rust-http-client-6: Update to 6.5.3., guix-commits, 2024/03/20
- 57/68: gnu: Add rust-tls-codec-0.4.,
guix-commits <=