diff mbox series

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

Message ID 20220404193208.27634-5-dom@dominicm.dev
State New
Headers show
Series gnu: Add nebula. | expand

Commit Message

Dominic Martinez April 4, 2022, 7:32 p.m. UTC
* gnu/packages/golang.scm (go-github-com-google-gopacket): New variable
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
diff mbox series

Patch

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)))