summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-07-08 04:08:35 +0000
committerEfraim Flashner <efraim@flashner.co.il>2021-07-15 15:56:00 +0300
commitef84c9eaead535f5be3e40be040e6cca0f17267b (patch)
treec5e00eee71acc861c86936218a83a6f04d56022a /gnu
parentef46ab3cf82bf6c65ea4e0ac65279e029ed53131 (diff)
gnu: Add rust-dns-parser-0.8.
* gnu/packages/crates-io.scm (rust-dns-parser-0.8): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7343afd388..fd2292b4f5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13740,6 +13740,33 @@ Google's diff-match-patch.")
system libraries.")
(license license:expat)))
+(define-public rust-dns-parser-0.8
+ (package
+ (name "rust-dns-parser")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dns-parser" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1spv0psvxc31qg9xnqf0gmjclyiim7vp23r2b1gzf1ix8zlkply4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-quick-error" ,rust-quick-error-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1))
+ #:cargo-development-inputs
+ (("rust-matches" ,rust-matches-0.1))))
+ (home-page "https://github.com/tailhook/dns-parser")
+ (synopsis "DNS protocol parser library")
+ (description "This package provide a DNS protocol parser library. It does
+not support network, only raw protocol parser.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-doc-comment-0.3
(package
(name "rust-doc-comment")