From 759530abf4ff5bc6691230ac9245e45a365e7c6b Mon Sep 17 00:00:00 2001 From: Milkey Mouse Date: Tue, 31 Aug 2021 20:54:17 -0700 Subject: [PATCH] gnu: Add rust-pktparse-0.5. * gnu/packages/crates-io.scm (rust-pktparse-0.5): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fd8365aac6..9b1b019abc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33181,6 +33181,30 @@ (define-public rust-pkg-config-0.3 (license (list license:asl2.0 license:expat)))) +(define-public rust-pktparse-0.5 + (package + (name "rust-pktparse") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pktparse" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17a78c29l070mlwjdr3bdph785c9v5rps0if3v0s21w4nwaybhck")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-nom" ,rust-nom-5) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/bestouff/pktparse-rs") + (synopsis "Collection of packet parsers") + (description "This package provides a collection of parsers for various +network packet formats.") + (license license:lgpl3))) + (define-public rust-plain-0.2 (package (name "rust-plain")