guix-commits
[Top][All Lists]
Advanced

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

364/471: gnu: rust-tls-parser-0.10: Update to 0.11.0.


From: guix-commits
Subject: 364/471: gnu: rust-tls-parser-0.10: Update to 0.11.0.
Date: Wed, 3 May 2023 09:28:54 -0400 (EDT)

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

commit 5e9b05c25c3ac2d3e145bcaa5fdea6e930a56c2e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 17 20:57:19 2023 +0300

    gnu: rust-tls-parser-0.10: Update to 0.11.0.
    
    * gnu/packages/crates-io.scm (rust-tls-parser-0.11): New variable.
    (rust-tls-parser-0.10): Remove variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c0b49932a2..a1b5bc56ea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35074,10 +35074,10 @@ based on Rustls and Ring.")
     (description "This package provides thousand separators for numerals.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-tls-parser-0.10
+(define-public rust-tls-parser-0.11
   (package
     (name "rust-tls-parser")
-    (version "0.10.0")
+    (version "0.11.0")
     (source
      (origin
        (method url-fetch)
@@ -35086,21 +35086,27 @@ based on Rustls and Ring.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1spgykvrxlzb059zzz1hzinc4vvkpixw9nd6p94vw3rimar5m68n"))))
+         "1q0vd41sjf6pbcygp5bqlpqrxbqdd0qsqi4sm5zbzvb4vvi0d4j0"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 ;; Accept newer versions of rust-clap.
+                 (substitute* "Cargo.toml"
+                   (("~2\\.33") "^2.33"))))))
     (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))
+        ("rust-nom" ,rust-nom-7)
+        ("rust-nom-derive" ,rust-nom-derive-0.10)
+        ("rust-phf" ,rust-phf-0.10)
+        ("rust-phf-codegen" ,rust-phf-codegen-0.10)
+        ("rust-rusticata-macros" ,rust-rusticata-macros-4))
        #:cargo-development-inputs
-       (("rust-hex-literal" ,rust-hex-literal-0.3)
-        ("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
+       (("rust-clap" ,rust-clap-2)
+        ("rust-hex-literal" ,rust-hex-literal-0.3)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-0.7))))
     (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.")



reply via email to

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