Subject: [bug#54335] [PATCH v3 04/10] gnu: Add go-github-com-google-gopacket.

From: Dominic Martinez <[email-masked]>
Date: Mon, 4 Apr 2022 15:32:02 -0400

* gnu/packages/golang.scm (go-github-com-google-gopacket): New variable
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a6ada9b1d6..ccda557600 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9848,3 +9848,27 @@ (define-public go-github-com-cyberdelia-go-metrics-graphite
 the @url{https://github.com/rcrowley/go-metrics,go-metrics} library which
 posts metrics to Graphite.")
     (license license:bsd-2)))
+
+(define-public go-github-com-google-gopacket
+  (package
+    (name "go-github-com-google-gopacket")
+    (version "1.1.19")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/google/gopacket")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32 "048qwm2n0wrpql4qqgd7jyynn3gk069yvqbxnshlayzmbhf87ls4"))))
+    (build-system go-build-system)
+    (arguments '(#:import-path "github.com/google/gopacket"))
+    (propagated-inputs
+      (list go-golang-org-x-sys go-golang-org-x-net))
+    (home-page "https://github.com/google/gopacket")
+    (synopsis "Provides packet processing capabilities for Go")
+    (description
+      "@code{go-github-com-google-gopacket} provides packet decoding for the
+Go language.")
+    (license license:bsd-3)))
-- 
2.34.0