Subject: [bug#65939] [PATCH 30/33] gnu: Add go-github-com-insomniacslk-dhcp-dhcpv4.

From: Edouard Klein <[email-masked]>
Date: Thu, 14 Sep 2023 09:29:43 +0200

* gnu/packages/golang.scm (go-github-com-insomniacslk-dhcp-dhcpv4): New variable.
---
 gnu/packages/golang.scm | 45 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 198c07910e..64c2964aa7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13753,6 +13753,51 @@ (define-public go-github-com-neelance-astrewrite
     (description #f)
     (license license:bsd-2)))
 
+(define-public go-github-com-insomniacslk-dhcp-dhcpv4
+  (package
+    (name "go-github-com-insomniacslk-dhcp-dhcpv4")
+    (version "0.0.0-20230908212754-65c27093e38a")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/insomniacslk/dhcp")
+                    (commit (go-version->git-ref version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0vinhq7d7880hqsxy6xrji6sf7wdc2926zb0m9m4rhcr9hczkm4b"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/insomniacslk/dhcp/dhcpv4"
+       #:unpack-path "github.com/insomniacslk/dhcp"
+       #:go ,go-1.20))
+    (propagated-inputs `(("go-gopkg-in-yaml-v3" ,go-gopkg-in-yaml-v3)
+                         ("go-golang-org-x-sync" ,go-golang-org-x-sync)
+                         ("go-github-com-stretchr-objx" ,go-github-com-stretchr-objx)
+                         ("go-github.com-smartystreets-goconvey" ,go-github.com-smartystreets-goconvey)
+                         ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)
+                         ("go-github-com-pierrec-lz4-v4" ,go-github-com-pierrec-lz4-v4)
+                         ("go-github-com-mdlayher-socket" ,go-github-com-mdlayher-socket)
+                         ("go-github-com-josharian-native" ,go-github-com-josharian-native)
+                         ("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)
+                         ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+                         ("go-golang-org-x-net" ,go-golang-org-x-net)
+                         ("go-github-com-u-root-uio-uio" ,go-github-com-u-root-uio-uio)
+                         ("go-github-com-u-root-uio-rand" ,go-github-com-u-root-uio-rand)
+                         ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
+                         ("go-github-com-mdlayher-packet" ,go-github-com-mdlayher-packet)
+                         ("go-github-com-mdlayher-netlink" ,go-github-com-mdlayher-netlink)
+                         ("go-github-com-jsimonetti-rtnetlink" ,go-github-com-jsimonetti-rtnetlink)
+                         ("go-github-com-hugelgupf-socketpair" ,go-github-com-hugelgupf-socketpair)
+                         ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)
+                         ("go-github-com-fanliao-go-promise" ,go-github-com-fanliao-go-promise)))
+    (home-page "https://github.com/insomniacslk/dhcp")
+    (synopsis "dhcp")
+    (description
+     "DHCPv4 and DHCPv6 decoding/encoding library with client and server code, written
+in Go.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-neelance-sourcemap
   (package
     (name "go-github-com-neelance-sourcemap")
-- 
2.40.1