guix-commits
[Top][All Lists]
Advanced

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

56/68: gnu: Add rust-tls-codec-derive-0.4.


From: guix-commits
Subject: 56/68: gnu: Add rust-tls-codec-derive-0.4.
Date: Wed, 20 Mar 2024 11:24:39 -0400 (EDT)

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

commit e14fa227a1864e6f990367dc3d54c34dfc71ca66
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:09:06 2024 +0100

    gnu: Add rust-tls-codec-derive-0.4.
    
    * gnu/packages/crates-crypto.scm (rust-tls-codec-derive-0.4): Add
    variable.
    
    Change-Id: I232cb77cdbdec4b3eeea0695a8c9b4ccf64f5b03
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-crypto.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 84af71aff7..ab3fd94eff 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -6150,6 +6150,31 @@ cryptographic implementations.")
      "This package provides the Tiger cryptographic hash function.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-tls-codec-derive-0.4
+  (package
+    (name "rust-tls-codec-derive")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tls_codec_derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1704w8zpgpj40yjgq9dddnnfzmq44p63n0606c1g6y8fcm2zb7ld"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; use of undeclared crate or module `tls_codec`
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))
+    (home-page
+     "https://github.com/RustCrypto/formats/tree/master/tls_codec/derive";)
+    (synopsis "Derive macros for the tls_codec trait")
+    (description
+      "This package provides Derive macros for the tls_codec trait.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-totp-lite-2
   (package
     (name "rust-totp-lite")



reply via email to

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