From ea8fd51d9b416a7a13bf6c245e3ae2936d9f6d92 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Wed, 4 Jan 2023 23:34:25 +0800 Subject: [PATCH] rosenthal: Add go-github-com-google-gopacket. * rosenthal/packages/golang.scm (go-github-com-google-gopacket): New variable. --- rosenthal/packages/golang.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 rosenthal/packages/golang.scm diff --git a/rosenthal/packages/golang.scm b/rosenthal/packages/golang.scm new file mode 100644 index 0000000..de8b1e4 --- /dev/null +++ b/rosenthal/packages/golang.scm @@ -0,0 +1,31 @@ +;; SPDX-FileCopyrightText: 2022 Hilton Chain +;; +;; SPDX-License-Identifier: GPL-3.0-or-later + +(define-module (rosenthal packages golang) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system go) + #:use-module (guix git-download) + #:use-module (guix packages)) + +(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")) + (home-page "https://github.com/google/gopacket") + (synopsis "Packet processing capabilities library") + (description + "This package provides packet processing capabilities for Go.") + (license license:bsd-3)))