[PATCH 00/33] thirty something go packages

  • Open
  • quality assurance status badge
Details
2 participants
  • Edouard Klein
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Edouard Klein
Severity
normal
E
E
Edouard Klein wrote on 14 Sep 2023 09:57
(address . guix-patches@gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
cover.1694678167.git.edk@beaver-labs.com
Hi Guix,

Hopefully, without blowing up the debbugs instance this time:

This is me trying to package go-github-com-hugelgupf-p9.
This repo pulls roughly half of the global Go's ecosystem with it.
On top of that, the automatic importer chokes on some of the
dependencies because upstream's tags are a bit messy, so I had to
manually import most of those.

Anyway, halfway through I had learnt how to package multiple-modules go
repository (see for example go-github-com-u-root-uio-*).

Then I realized that the little utility I'm actually interested in
(go-github-com-hugelgupf-p9-cmd-p9ufs) has very little dependencies
(only two, actually) and that I had done all this for naught.

So, not to let that work go to waste, I included the packages there as
well, they may prove useful to other people.

The payload for me is go-github-com-hugelgupf-p9-cmd-p9ufs and its two
dependencies, go-golang-org-x-sys (updated) and
go-github-com-u-root-uio-ulog.

Some packages have their tests disabled, but it can't be worse than the
package literally not existing.

Cheers,

Edouard



Edouard Klein (33):
gnu: Add go-github-com-sourcegraph-go-lsp.
doc: golang: Minor grammar fix on comment
gnu: Add go-src-elv-sh.
gnu: Add go-github-com-vishvananda-netns.
gnu: Add go-github-com-vishvananda-netlink.
gnu: Add go-github-com-hashicorp-errwrap.
gnu: Add go-github-com-hashicorp-go-multierror.
gnu: Add go-github-com-josharian-native.
gnu: Add go-github-com-pierrec-lz4-v4.
gnu: Add go-github-com-u-root-uio.
gnu: Fix go-github-com-u-root-uio.
gnu: Add go-github-com-u-root-uio-ulog.
gnu: Add go-github-com-u-root-uio-cp.
gnu: Add go-github-com-u-root-gobusybox-src-pkg-bb.
gnu: Add go-github-com-mdlayher-socket.
gnu: Add go-github-com-mdlayher-packet.
gnu: Add go-github-com-klauspost-pgzip.
gnu: Add go-github-com-fanliao-go-promise.
gnu: Add go-github-com-hugelgupf-socketpair.
gnu: go-golang-org-x-sys: Update to 0.12.0.
gnu: go-github-com-frankban-quicktest: Update to 1.14.6.
gnu: Add go-github-com-cilium-ebpf.
gnu: Add go-github-com-mdlayher-netlink.
gnu: Add go-github-com-jsimonetti-rtnetlink.
gnu: Add go-github-com-neelance-astrewrite.
gnu: Add go-github-com-neelance-sourcemap.
gnu: Add go-github-com-shurcool-go-importgraphutil.
gnu: Add go-github-com-inconshreveable-mousetrap.
gnu: Add go-github-com-u-root-uio-rand.
gnu: Add go-github-com-insomniacslk-dhcp-dhcpv4.
gnu: Add go-github-com-netflix-go-expect.
gnu: Add go-cloud-google-com-go-workflows.
gnu: Add go-github-com-hugelgupf-p9-cmd-p9ufs.

gnu/packages/golang.scm | 828 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 820 insertions(+), 8 deletions(-)


base-commit: 2eb6df537c36da8bf8e81ff698421f6fb1bfd1ab
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 04/33] gnu: Add go-github-com-vishvananda-netns.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
f2cd7aa9df32855cbdc1bf2ee5993be2139f2258.1694678167.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-vishvananda-netns): New variable.
---
gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 57dee78330..5a00fd0a2b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13259,6 +13259,37 @@ (define-public go-src-elv-sh
Windows.")
(license license:bsd-2)))
+(define-public go-github-com-vishvananda-netns
+ (package
+ (name "go-github-com-vishvananda-netns")
+ (version "0.0.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vishvananda/netns")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0rci8c211m57nya9il81fz6459pia3dj5i4b16fp34vjrkcxliml"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:tests? #f ;; From what I understand, and I may very well be wrong,
+ ;; the tests require root access. At least they fail with "operation not permitted".
+ #:import-path "github.com/vishvananda/netns"))
+ (propagated-inputs `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+ (home-page "https://github.com/vishvananda/netns")
+ (synopsis "netns - network namespaces in go")
+ (description
+ "Package netns allows ultra-simple network namespace handling. @code{NsHandles}
+can be retrieved and set. Note that the current namespace is thread local so
+actions that set and reset namespaces should use @code{LockOSThread} to make
+sure the namespace doesn't change due to a goroutine switch. It is best to
+close @code{NsHandles} when you are done with them. This can be accomplished
+via a `defer ns.Close()` on the handle. Changing namespaces requires elevated
+privileges, so in most cases this code needs to be run as root.")
+ (license license:asl2.0)))
+
(define-public go-github-com-gorilla-websocket
(package
(name "go-github-com-gorilla-websocket")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 02/33] doc: golang: Minor grammar fix on comment
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
d8440896733566b3729c8bd5b82f58487280e231.1694678167.git.edk@beaver-labs.com
---
gnu/packages/golang.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (16 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d9914463ff..f6b7eedab7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13961,7 +13961,7 @@ (define-public go-github-com-onsi-ginkgo
(license license:expat)))
;;;
-;;; Avoid adding new packages to the end of this file. To reduce the chances
-;;; of a merge conflict, place them above by existing packages with similar
+;;; Avoid adding new packages at the end of this file. To reduce the chances
+;;; of a merge conflict, place them above existing packages with similar
;;; functionality or similar names.
;;;
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 03/33] gnu: Add go-src-elv-sh.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
38e11508443be6d8000eca0a0226b7d1f042bbce.1694678167.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-src-elv-sh): New variable.
---
gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

Toggle diff (55 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f6b7eedab7..57dee78330 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -75,6 +75,7 @@ (define-module (gnu packages golang)
#:use-module (gnu packages base)
#:use-module ((gnu packages bootstrap) #:select (glibc-dynamic-linker))
#:use-module (gnu packages check)
+ #:use-module (gnu packages databases)
#:use-module (gnu packages fonts)
#:use-module (gnu packages gcc)
#:use-module (gnu packages glib)
@@ -13224,6 +13225,40 @@ (define-public go-github-com-sourcegraph-go-lsp
Protocol.")
(license license:expat)))
+(define-public go-src-elv-sh
+ (package
+ (name "go-src-elv-sh")
+ (version "0.19.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/elves/elvish")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1285j66b7kajyxffpcil8zl9p5awqw2n4si5vg4zlci651fcj8vq"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "src.elv.sh/cmd/elvish"
+ #:unpack-path "src.elv.sh"
+ #:go ,go-1.20))
+ (propagated-inputs `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-go-etcd-io-bbolt" ,go-go-etcd-io-bbolt)
+ ("go-github-com-sourcegraph-jsonrpc2" ,go-github-com-sourcegraph-jsonrpc2)
+ ("go-github-com-sourcegraph-go-lsp" ,go-github-com-sourcegraph-go-lsp)
+ ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
+ ("go-github-com-google-go-cmp" ,go-github-com-google-go-cmp-cmp)
+ ("go-github-com-creack-pty" ,go-github-com-creack-pty)))
+ (home-page "https://src.elv.sh")
+ (synopsis
+ "Elvish: Expressive Programming Language + Versatile Interactive Shell")
+ (description
+ "Elvish is an expressive programming language and a versatile interactive shell,
+combined into one seamless package. It runs on Linux, BSDs, @code{macOS} and
+Windows.")
+ (license license:bsd-2)))
+
(define-public go-github-com-gorilla-websocket
(package
(name "go-github-com-gorilla-websocket")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 06/33] gnu: Add go-github-com-hashicorp-errwrap.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
21d11f2578e38ad43cbe4b91915dda8d999dcdd7.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-hashicorp-errwrap): New variable.
---
gnu/packages/golang.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0f64892d56..435c553e05 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13259,6 +13259,28 @@ (define-public go-src-elv-sh
Windows.")
(license license:bsd-2)))
+(define-public go-github-com-hashicorp-errwrap
+ (package
+ (name "go-github-com-hashicorp-errwrap")
+ (version "1.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hashicorp/errwrap")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0p5wdz8p7dmwphmb33gwhy3iwci5k9wkfqmmfa6ay1lz0cqjwp7a"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/hashicorp/errwrap"))
+ (home-page "https://github.com/hashicorp/errwrap")
+ (synopsis "errwrap")
+ (description
+ "Package errwrap implements methods to formalize error wrapping in Go.")
+ (license license:mpl2.0)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 08/33] gnu: Add go-github-com-josharian-native.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
96c684254cfb22eca414ec9f2811a1daf4fd0e42.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-josharian-native): New variable.
---
gnu/packages/golang.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8215f29dd5..261c859d27 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13305,6 +13305,27 @@ (define-public go-github-com-hashicorp-go-multierror
representing a list of @@code{error} values as a single @@code{error}.")
(license license:mpl2.0)))
+(define-public go-github-com-josharian-native
+ (package
+ (name "go-github-com-josharian-native")
+ (version "1.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/josharian/native")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1wa4yzc3r06qjklqjf4n30zx9v660w8hmxkmybzwk03fmlv2rcyj"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/josharian/native"))
+ (home-page "https://github.com/josharian/native")
+ (synopsis #f)
+ (description "Package native provides easy access to native byte order.")
+ (license license:expat)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 05/33] gnu: Add go-github-com-vishvananda-netlink.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
298436ca5e94ea3037d69b0b78c11a3b516f1438.1694678167.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-vishvananda-netlink): New variable.
---
gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5a00fd0a2b..0f64892d56 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13259,6 +13259,38 @@ (define-public go-src-elv-sh
Windows.")
(license license:bsd-2)))
+(define-public go-github-com-vishvananda-netlink
+ (package
+ (name "go-github-com-vishvananda-netlink")
+ (version "1.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vishvananda/netlink")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1vhl30p1gx636a088ls4h6a0l8jjyfvz79fr5w0qzdrg4qg9h08h"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:tests? #f ;; From what I understand, and I may very well be wrong,
+ ;; the tests require root access. At least they fail with "operation not permitted".
+ #:import-path "github.com/vishvananda/netlink"))
+ (propagated-inputs `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-github-com-vishvananda-netns" ,go-github-com-vishvananda-netns)))
+ (home-page "https://github.com/vishvananda/netlink")
+ (synopsis "netlink - netlink library for go")
+ (description
+ "Package netlink provides a simple library for netlink. Netlink is the interface
+a user-space program in linux uses to communicate with the kernel. It can be
+used to add and remove interfaces, set up ip addresses and routes, and confiugre
+ipsec. Netlink communication requires elevated privileges, so in most cases
+this code needs to be run as root. The low level primitives for netlink are
+contained in the nl subpackage. This package attempts to provide a high-level
+interface that is loosly modeled on the iproute2 cli.")
+ (license license:asl2.0)))
+
(define-public go-github-com-vishvananda-netns
(package
(name "go-github-com-vishvananda-netns")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 01/33] gnu: Add go-github-com-sourcegraph-go-lsp.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
f0567ab42922adb73d001fc2ab47892c1057129b.1694678167.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-sourcegraph-go-lsp): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cbd4bafd20..d9914463ff 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -41,6 +41,7 @@
;;; Copyright © 2022 Christopher Howard <christopher@librehacker.com>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
+;;; Copyright © 2023 Edouard Klein <edk@beaver-labs.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -13200,6 +13201,29 @@ (define-public go-github-com-google-shlex
using shell-style rules for quoting and commenting.")
(license license:asl2.0)))
+(define-public go-github-com-sourcegraph-go-lsp
+ (package
+ (name "go-github-com-sourcegraph-go-lsp")
+ (version "0.0.0-20200429204803-219e11d77f5d")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sourcegraph/go-lsp")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1192qrdlm698z7dsl5i88rk9p31dgx4xq7ljzhn17dl2mynbc2l2"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/sourcegraph/go-lsp"))
+ (home-page "https://github.com/sourcegraph/go-lsp")
+ (synopsis "go-lsp")
+ (description
+ "Package lsp contains Go types for the messages used in the Language Server
+Protocol.")
+ (license license:expat)))
+
(define-public go-github-com-gorilla-websocket
(package
(name "go-github-com-gorilla-websocket")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 07/33] gnu: Add go-github-com-hashicorp-go-multierror.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
e1dbe61322d3c0804ae148a02b11c72d91ae82b5.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-hashicorp-go-multierror): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 435c553e05..8215f29dd5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13281,6 +13281,30 @@ (define-public go-github-com-hashicorp-errwrap
"Package errwrap implements methods to formalize error wrapping in Go.")
(license license:mpl2.0)))
+(define-public go-github-com-hashicorp-go-multierror
+ (package
+ (name "go-github-com-hashicorp-go-multierror")
+ (version "1.1.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hashicorp/go-multierror")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0l4s41skdpifndn9s8y6s9vzgghdzg4z8z0lld9qjr28888wzp00"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/hashicorp/go-multierror"))
+ (propagated-inputs `(("go-github-com-hashicorp-errwrap" ,go-github-com-hashicorp-errwrap)))
+ (home-page "https://github.com/hashicorp/go-multierror")
+ (synopsis "go-multierror")
+ (description
+ "@@code{go-multierror} is a package for Go that provides a mechanism for
+representing a list of @@code{error} values as a single @@code{error}.")
+ (license license:mpl2.0)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 10/33] gnu: Add go-github-com-u-root-uio.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
e093df42a4b623596020a88d19a0f8c1760f387a.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-u-root-uio): New variable.
---
gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 05c81b56bb..0e6d0d1adb 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13350,6 +13350,37 @@ (define-public go-github-com-josharian-native
(description "Package native provides easy access to native byte order.")
(license license:expat)))
+(define-public go-github-com-u-root-uio
+ (package
+ (name "go-github-com-u-root-uio")
+ (version "0.0.0-20230305220412-3e8cd9d6bf63")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/u-root/uio")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1gvv66ixkgwikjx8sjdknvrmd08wv2ia02q8n8y3mnkhrgyyx1yf"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/u-root/uio/uio"
+ #:unpack-path "github.com/u-root/uio/"
+ #:tests? #f;;The tests fail because of go-github-com-pierrec-lz4-v4 but
+ ;; the output make it seem that test is broken, not the code. The
+ ;; output looks like "Got something, want something else", but
+ ;; something and something else look pretty much the same (at a cursory
+ ;; glance). I'll move on as I don't think this has an actual impact.
+ ))
+ (propagated-inputs `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-github-com-pierrec-lz4-v4" ,go-github-com-pierrec-lz4-v4)
+ ("go-github-com-josharian-native" ,go-github-com-josharian-native)))
+ (home-page "https://github.com/u-root/uio")
+ (synopsis "uio")
+ (description #f)
+ (license license:bsd-3)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 09/33] gnu: Add go-github-com-pierrec-lz4-v4.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
77b81fc42d1de58aa4e9500b05956526db410f7e.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-pierrec-lz4-v4): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 261c859d27..05c81b56bb 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13259,6 +13259,30 @@ (define-public go-src-elv-sh
Windows.")
(license license:bsd-2)))
+(define-public go-github-com-pierrec-lz4-v4
+ (package
+ (name "go-github-com-pierrec-lz4-v4")
+ (version "4.1.18")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pierrec/lz4")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "054b40963h3l13a7nxw3990b3a9033ypin7l79da6fiv2ynnsnb8"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:tests? #f ;; The tests fail, but I have neither the time nor the skill
+ ;; to make them pass.
+ #:import-path "github.com/pierrec/lz4/v4"))
+ (home-page "https://github.com/pierrec/lz4")
+ (synopsis "lz4 : LZ4 compression in pure Go")
+ (description
+ "Package lz4 implements reading and writing lz4 compressed data.")
+ (license license:bsd-3)))
+
(define-public go-github-com-hashicorp-errwrap
(package
(name "go-github-com-hashicorp-errwrap")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 13/33] gnu: Add go-github-com-u-root-uio-cp.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
0c37c0f51dbaf30846f48abd4871142d297839b9.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-u-root-uio-cp): New variable.
---
gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cb882058cf..2ce2c57347 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13411,6 +13411,36 @@ (define-public go-github-com-u-root-uio-ulog
(description #f)
(license license:bsd-3)))
+(define-public go-github-com-u-root-uio-cp
+ (package
+ (name "go-github-com-u-root-uio-cp")
+ (version "0.0.0-20230305220412-3e8cd9d6bf63")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/u-root/uio")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1gvv66ixkgwikjx8sjdknvrmd08wv2ia02q8n8y3mnkhrgyyx1yf"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/u-root/uio/cp"
+ #:unpack-path "github.com/u-root/uio"
+ #:install-source? #t
+ ;; Source-only package
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Source-only package
+ (delete 'build))))
+ (home-page "https://github.com/u-root/uio")
+ (synopsis "uio")
+ (description #f)
+ (license license:bsd-3)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 12/33] gnu: Add go-github-com-u-root-uio-ulog.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
ac293f127eed40c3f5723bf45a16802ac3118d9b.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-u-root-uio-ulog): New variable.
---
gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4baf228752..cb882058cf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13381,6 +13381,36 @@ (define-public go-github-com-u-root-uio-uio
(description #f)
(license license:bsd-3)))
+(define-public go-github-com-u-root-uio-ulog
+ (package
+ (name "go-github-com-u-root-uio-cp")
+ (version "0.0.0-20230305220412-3e8cd9d6bf63")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/u-root/uio")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1gvv66ixkgwikjx8sjdknvrmd08wv2ia02q8n8y3mnkhrgyyx1yf"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/u-root/uio/ulog"
+ #:unpack-path "github.com/u-root/uio"
+ #:install-source? #t
+ ;; Source-only package
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Source-only package
+ (delete 'build))))
+ (home-page "https://github.com/u-root/uio")
+ (synopsis "uio")
+ (description #f)
+ (license license:bsd-3)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 11/33] gnu: Fix go-github-com-u-root-uio.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
40ee102992ded98de89c209a0fbda2fcb79ab021.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-u-root-uio-uio): New variable.
* gnu/packages/golang.scm (go-github-com-u-root-uio): Remove variable.

go-github-com-u-root-uio needs to be broken down into its component packages
---
gnu/packages/golang.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (27 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0e6d0d1adb..4baf228752 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13350,9 +13350,9 @@ (define-public go-github-com-josharian-native
(description "Package native provides easy access to native byte order.")
(license license:expat)))
-(define-public go-github-com-u-root-uio
+(define-public go-github-com-u-root-uio-uio
(package
- (name "go-github-com-u-root-uio")
+ (name "go-github-com-u-root-uio-uio")
(version "0.0.0-20230305220412-3e8cd9d6bf63")
(source (origin
(method git-fetch)
@@ -13366,7 +13366,7 @@ (define-public go-github-com-u-root-uio
(build-system go-build-system)
(arguments
'(#:import-path "github.com/u-root/uio/uio"
- #:unpack-path "github.com/u-root/uio/"
+ #:unpack-path "github.com/u-root/uio"
#:tests? #f;;The tests fail because of go-github-com-pierrec-lz4-v4 but
;; the output make it seem that test is broken, not the code. The
;; output looks like "Got something, want something else", but
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:02
[PATCH 14/33] gnu: Add go-github-com-u-root-gobusybox-src-pkg-bb.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
853f58bce2de9da1c89422c11585f7eb23d0058b.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-u-root-gobusybox-src-pkg-bb): New variable.
---
gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2ce2c57347..08fd4c5010 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13441,6 +13441,39 @@ (define-public go-github-com-u-root-uio-cp
(description #f)
(license license:bsd-3)))
+
+(define-public go-github-com-u-root-gobusybox-src-pkg-bb
+ (package
+ (name "go-github-com-u-root-gobusybox-src-pkg-bb")
+ (version "0.0.0-20230817123913-21a9727f4316")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/u-root/gobusybox")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0n03f150487459ljmhzfpjm6jdf7axifl9qfahq5mwcynb495w2z"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/u-root/gobusybox/src/pkg/bb"
+ #:unpack-path "github.com/u-root/gobusybox"))
+ (propagated-inputs `(("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)
+ ("go-github-com-hashicorp-errwrap" ,go-github-com-hashicorp-errwrap)
+ ("go-golang-org-x-tools" ,go-golang-org-x-tools)
+ ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-golang-org-x-mod" ,go-golang-org-x-mod)
+ ("go-github-com-u-root-uio-uio" ,go-github-com-u-root-uio-uio)
+ ("go-github-com-u-root-uio-ulog" ,go-github-com-u-root-uio-ulog)
+ ("go-github-com-u-root-uio-cp" ,go-github-com-u-root-uio-cp)
+ ("go-github-com-hashicorp-go-multierror" ,go-github-com-hashicorp-go-multierror)
+ ("go-github-com-google-goterm" ,go-github-com-google-goterm)))
+ (home-page "https://github.com/u-root/gobusybox")
+ (synopsis #f)
+ (description #f)
+ (license license:bsd-3)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 15/33] gnu: Add go-github-com-mdlayher-socket.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
2fe00441c2b632605ccc9d709120148b4cf86268.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-mdlayher-socket): New variable.
---
gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 08fd4c5010..9723c36dc0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13474,6 +13474,35 @@ (define-public go-github-com-u-root-gobusybox-src-pkg-bb
(description #f)
(license license:bsd-3)))
+(define-public go-github-com-mdlayher-socket
+ (package
+ (name "go-github-com-mdlayher-socket")
+ (version "0.5.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mdlayher/socket")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1g0bifm7xyfisgk0jmvyshmrnawkwvamn40hvg8f46xs3s5incfz"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/mdlayher/socket"
+ #:go ,go-1.20))
+ (propagated-inputs `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-golang-org-x-sync" ,go-golang-org-x-sync)
+ ("go-golang-org-x-net" ,go-golang-org-x-net)
+ ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
+ (home-page "https://github.com/mdlayher/socket")
+ (synopsis "socket")
+ (description
+ "Package socket provides a low-level network connection type which integrates
+with Go's runtime network poller to provide asynchronous I/O and deadline
+support.")
+ (license license:expat)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 18/33] gnu: Add go-github-com-fanliao-go-promise.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
c71b946e8750b0775c13894c71d6a605d1de88da.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-fanliao-go-promise): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f2924ae796..7f19cfa608 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13557,6 +13557,31 @@ (define-public go-github-com-mdlayher-packet
"Package packet provides access to Linux packet sockets (AF_PACKET).")
(license license:expat)))
+(define-public go-github-com-fanliao-go-promise
+ (package
+ (name "go-github-com-fanliao-go-promise")
+ (version "0.0.0-20141029170127-1890db352a72")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fanliao/go-promise")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0nlls86fx6sxsvwp5k769h5knwh96j8fahhivh6fagzjjyyqcijd"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/fanliao/go-promise"
+ ;; The tests fail but I'm too lazy to look into it
+ #:tests? #f))
+ (propagated-inputs (list go-github.com-smartystreets-goconvey))
+ (home-page "https://github.com/fanliao/go-promise")
+ (synopsis "Installation")
+ (description
+ "Package promise provides a complete promise and future implementation. A quick
+start sample:")
+ (license license:expat)))
(define-public go-github-com-vishvananda-netlink
(package
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 22/33] gnu: Add go-github-com-cilium-ebpf.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
4405572043ba24623c7b57adba2e9f27eeca54f2.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-cilium-ebpf): New variable.
---
gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c55fcde5fc..041c14a9cc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13605,6 +13605,38 @@ (define-public go-github-com-hugelgupf-socketpair
"Package socketpair provides bidirectionally connected net.Conns.")
(license license:bsd-3)))
+(define-public go-github-com-cilium-ebpf
+ (package
+ (name "go-github-com-cilium-ebpf")
+ (version "0.11.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cilium/ebpf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "01qwvlbr4fi5j88dfivvivi9avjka3jvw311c2ab75vmg8z9vdps"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/cilium/ebpf"
+ #:tests? #f ;; Bunch of "operation not permitted", would be a pain to
+ ;; debug. I'm letting it go
+ #:go ,go-1.20))
+ (propagated-inputs `(("go-github-com-rogpeppe-go-internal" ,go-github-com-rogpeppe-go-internal)
+ ("go-github-com-kr-text" ,go-github-com-kr-text)
+ ("go-github-com-kr-pretty" ,go-github-com-kr-pretty)
+ ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-golang-org-x-exp" ,go-golang-org-x-exp)
+ ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)
+ ("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)))
+ (home-page "https://github.com/cilium/ebpf")
+ (synopsis "eBPF")
+ (description
+ "Package ebpf is a toolkit for working with @code{eBPF} programs.")
+ (license license:expat)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 21/33] gnu: go-github-com-frankban-quicktest: Update to 1.14.6.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
ff16382ae09461461d450405b243937a8d6f6e8c.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-frankban-quicktest): Update to 1.14.6.
---
gnu/packages/golang.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 229cb97b01..c55fcde5fc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11042,7 +11042,7 @@ (define-public go-github-com-gologme-log
(define-public go-github-com-frankban-quicktest
(package
(name "go-github-com-frankban-quicktest")
- (version "1.11.1")
+ (version "1.14.6")
(source
(origin
(method git-fetch)
@@ -11052,7 +11052,7 @@ (define-public go-github-com-frankban-quicktest
(file-name (git-file-name name version))
(sha256
(base32
- "0b1b44b2hli2p969gqz30z8v9z6ahlklpqzi17nwk1lsjz9yv938"))))
+ "0gnh9v4cg39pw8y356299zhh5jmq2p4cf9945lfiqsjsk7h6ld70"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/frankban/quicktest"))
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 20/33] gnu: go-golang-org-x-sys: Update to 0.12.0.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
dbdf926ab00dbe5b0104e344c83c58eadb423daf.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-golang-org-x-sys): Update to 0.12.0.
---
gnu/packages/golang.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1c1472e8c4..229cb97b01 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4222,11 +4222,11 @@ (define-public go-golang-org-x-sync
(license license:bsd-3))))
(define-public go-golang-org-x-sys
- (let ((commit "b60007cc4e6f966b1c542e343d026d06723e5653")
- (revision "0"))
+ (let ((commit "38ebf4150f9b8b3b3345ee2a1f7cfb0d774567f8")
+ (revision "1"))
(package
(name "go-golang-org-x-sys")
- (version (git-version "0.4.0" revision commit))
+ (version (git-version "0.12.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
@@ -4235,7 +4235,7 @@ (define-public go-golang-org-x-sys
(file-name (git-file-name name version))
(sha256
(base32
- "0fr2d6fnpbqx6n89sg9lsinqkdaw49y068kqj2g0cxlhbh69hzii"))))
+ "160ppzd31arrq33lrvclz3qgp73acx3j2r4xccd67yvyqsihwfzr"))))
(build-system go-build-system)
(arguments
(list
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 17/33] gnu: Add go-github-com-klauspost-pgzip.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
bd485f957c7f72565b8fda204d2d5a42b0f845cf.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-klauspost-pgzip): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 075f341b9b..f2924ae796 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12015,6 +12015,31 @@ (define-public go-github-com-klauspost-compress
(description "@code{compress} provides various compression algorithms.")
(license license:bsd-3)))
+(define-public go-github-com-klauspost-pgzip
+ (package
+ (name "go-github-com-klauspost-pgzip")
+ (version "1.2.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/klauspost/pgzip")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1j29wr6nd9ncdbkjphyziv0h8p5s2mj222cgcfqxmzjnfn7623d8"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/klauspost/pgzip"))
+ (propagated-inputs
+ (list go-github-com-klauspost-compress))
+ (home-page "https://github.com/klauspost/pgzip")
+ (synopsis "pgzip")
+ (description
+ "Package pgzip implements reading and writing of gzip format compressed files, as
+specified in @@url{https://rfc-editor.org/rfc/rfc1952.html,RFC 1952}.")
+ (license license:expat)))
+
(define-public go-github-com-oneofone-xxhash
(package
(name "go-github-com-oneofone-xxhash")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 24/33] gnu: Add go-github-com-jsimonetti-rtnetlink.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
cd5ddacf16be55ae3a8e1507c7b0f0e583ec8218.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-jsimonetti-rtnetlink): New variable.
---
gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

Toggle diff (48 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3bf113fd70..bb19e9605f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13668,6 +13668,41 @@ (define-public go-github-com-mdlayher-netlink
"Package netlink provides low-level access to Linux netlink sockets (AF_NETLINK).")
(license license:expat)))
+(define-public go-github-com-jsimonetti-rtnetlink
+ (package
+ (name "go-github-com-jsimonetti-rtnetlink")
+ (version "1.3.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jsimonetti/rtnetlink")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "19kifm0c4lpq1y25g2acnfm5cfrizbygqa50a3sdp9368s1gaay5"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/jsimonetti/rtnetlink"
+ #:go ,go-1.20))
+ (propagated-inputs `(("go-golang-org-x-sync" ,go-golang-org-x-sync)
+ ("go-golang-org-x-net" ,go-golang-org-x-net)
+ ("go-golang-org-x-exp" ,go-golang-org-x-exp)
+ ("go-github-com-mdlayher-socket" ,go-github-com-mdlayher-socket)
+ ("go-github-com-josharian-native" ,go-github-com-josharian-native)
+ ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-github-com-mdlayher-netlink" ,go-github-com-mdlayher-netlink)
+ ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)
+ ("go-github-com-cilium-ebpf" ,go-github-com-cilium-ebpf)))
+ (home-page "https://github.com/jsimonetti/rtnetlink")
+ (synopsis "rtnetlink")
+ (description
+ "Package rtnetlink allows the kernel's routing tables to be read and altered.
+Network routes, IP addresses, Link parameters, Neighbor setups, Queueing
+disciplines, Traffic classes and Packet classifiers may all be controlled. It
+is based on netlink messages.")
+ (license license:expat)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 23/33] gnu: Add go-github-com-mdlayher-netlink.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
de5a9b9c9620482c17ac66bfc4ec2e98f9d6b17b.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-mdlayher-netlink): New variable.
---
gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (51 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 041c14a9cc..3bf113fd70 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -80,6 +80,7 @@ (define-module (gnu packages golang)
#:use-module (gnu packages gcc)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages linux)
#:use-module (gnu packages lua)
#:use-module (gnu packages mail)
#:use-module (gnu packages mp3)
@@ -13637,6 +13638,36 @@ (define-public go-github-com-cilium-ebpf
"Package ebpf is a toolkit for working with @code{eBPF} programs.")
(license license:expat)))
+(define-public go-github-com-mdlayher-netlink
+ (package
+ (name "go-github-com-mdlayher-netlink")
+ (version "1.7.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mdlayher/netlink")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pxd0qn73jr9n64gkp2kd8q8x7xgssm3v8a68vkh88al55g8jkma"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/mdlayher/netlink"
+ #:go ,go-1.20))
+ (propagated-inputs `(("go-golang-org-x-sync" ,go-golang-org-x-sync)
+ ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-golang-org-x-net" ,go-golang-org-x-net)
+ ("go-github-com-mdlayher-socket" ,go-github-com-mdlayher-socket)
+ ("go-github-com-josharian-native" ,go-github-com-josharian-native)
+ ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)
+ ("iproute2" ,iproute)))
+ (home-page "https://github.com/mdlayher/netlink")
+ (synopsis "netlink")
+ (description
+ "Package netlink provides low-level access to Linux netlink sockets (AF_NETLINK).")
+ (license license:expat)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 19/33] gnu: Add go-github-com-hugelgupf-socketpair.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
787d07711a216bca54eaf0f124dc2f8fdb4e49b4.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-hugelgupf-socketpair): New variable.
---
gnu/packages/golang.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7f19cfa608..1c1472e8c4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13583,6 +13583,28 @@ (define-public go-github-com-fanliao-go-promise
start sample:")
(license license:expat)))
+(define-public go-github-com-hugelgupf-socketpair
+ (package
+ (name "go-github-com-hugelgupf-socketpair")
+ (version "0.0.0-20230822150718-707395b1939a")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hugelgupf/socketpair")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hbv29bfyi2s5z71403mzgv4yc7fjg63kyh2y9m9pl8zq3amjsvv"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/hugelgupf/socketpair"))
+ (home-page "https://github.com/hugelgupf/socketpair")
+ (synopsis "socketpair")
+ (description
+ "Package socketpair provides bidirectionally connected net.Conns.")
+ (license license:bsd-3)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 25/33] gnu: Add go-github-com-neelance-astrewrite.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
f6a7423c37a054e90be0ab251bcda17289b5d458.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-neelance-astrewrite): New variable.
---
gnu/packages/golang.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bb19e9605f..7299b1b17a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13703,6 +13703,27 @@ (define-public go-github-com-jsimonetti-rtnetlink
is based on netlink messages.")
(license license:expat)))
+(define-public go-github-com-neelance-astrewrite
+ (package
+ (name "go-github-com-neelance-astrewrite")
+ (version "0.0.0-20160511093645-99348263ae86")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/neelance/astrewrite")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "07527807p8q6h05iq4qy0xrlcmwyzj76gpk0yqf71yaj447mz24v"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/neelance/astrewrite"))
+ (home-page "https://github.com/neelance/astrewrite")
+ (synopsis #f)
+ (description #f)
+ (license license:bsd-2)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 29/33] gnu: Add go-github-com-u-root-uio-rand.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
7c55604d3cb7846c8774182883cbd3d12e0f09f4.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-u-root-uio-rand): New variable.
---
gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 873afbf7dd..198c07910e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13467,6 +13467,35 @@ (define-public go-github-com-u-root-uio-cp
(description #f)
(license license:bsd-3)))
+(define-public go-github-com-u-root-uio-rand
+ (package
+ (name "go-github-com-u-root-uio-rand")
+ (version "0.0.0-20230305220412-3e8cd9d6bf63")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/u-root/uio")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1gvv66ixkgwikjx8sjdknvrmd08wv2ia02q8n8y3mnkhrgyyx1yf"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/u-root/uio/rand"
+ #:unpack-path "github.com/u-root/uio"
+ #:install-source? #t
+ ;; Source-only package
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Source-only package
+ (delete 'build))))
+ (home-page "https://github.com/u-root/uio")
+ (synopsis "uio")
+ (description #f)
+ (license license:bsd-3)))
(define-public go-github-com-u-root-gobusybox-src-pkg-bb
(package
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 27/33] gnu: Add go-github-com-shurcool-go-importgraphutil.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
f97c30488ab37d93eda52f58b761530324826746.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-shurcool-go-importgraphutil): New variable.
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 982c64b660..1c5a72a0ac 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13745,6 +13745,29 @@ (define-public go-github-com-neelance-sourcemap
(description #f)
(license license:bsd-2)))
+(define-public go-github-com-shurcool-go-importgraphutil
+ (package
+ (name "go-github-com-shurcool-go-importgraphutil")
+ (version "0.0.0-20230706063926-5fe729b41b3a")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/shurcooL/go")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0dym1msgjgywjhsl01frrqx4x4s96pcp1laavs9swz53z5ww95qq"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/shurcooL/go/importgraphutil"
+ #:unpack-path "github.com/shurcooL/go"))
+ (propagated-inputs (list go-golang-org-x-tools))
+ (home-page "https://github.com/shurcooL/go")
+ (synopsis "go")
+ (description "Common Go code.")
+ (license license:expat)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 28/33] gnu: Add go-github-com-inconshreveable-mousetrap.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
f3d2145eca701f73ca4af9bbd589d64ae375a76b.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-inconshreveable-mousetrap): New variable.
---
gnu/packages/golang.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1c5a72a0ac..873afbf7dd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13768,6 +13768,27 @@ (define-public go-github-com-shurcool-go-importgraphutil
(description "Common Go code.")
(license license:expat)))
+(define-public go-github-com-inconshreveable-mousetrap
+ (package
+ (name "go-github-com-inconshreveable-mousetrap")
+ (version "1.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/inconshreveable/mousetrap")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14gjpvwgx3hmbd92jlwafgibiak2jqp25rq4q50cq89w8wgmhsax"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/inconshreveable/mousetrap"))
+ (home-page "https://github.com/inconshreveable/mousetrap")
+ (synopsis "mousetrap")
+ (description "mousetrap is a tiny library that answers a single question.")
+ (license license:asl2.0)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 16/33] gnu: Add go-github-com-mdlayher-packet.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
a1a361a08b9c8e4931bbc49af67fde06240b4e06.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-mdlayher-packet): New variable.
---
gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9723c36dc0..075f341b9b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13503,6 +13503,36 @@ (define-public go-github-com-mdlayher-socket
support.")
(license license:expat)))
+(define-public go-github-com-mdlayher-packet
+ (package
+ (name "go-github-com-mdlayher-packet")
+ (version "1.1.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mdlayher/packet")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "17jms60j1xygsn5z61r2kz8yywsihf0xjzlhq3v5cpqf08mljwsn"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/mdlayher/packet"
+ #:go ,go-1.20))
+ (propagated-inputs `(("go-golang-org-x-sync" ,go-golang-org-x-sync)
+ ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-golang-org-x-net" ,go-golang-org-x-net)
+ ("go-github-com-mdlayher-socket" ,go-github-com-mdlayher-socket)
+ ("go-github-com-josharian-native" ,go-github-com-josharian-native)
+ ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
+ (home-page "https://github.com/mdlayher/packet")
+ (synopsis "packet")
+ (description
+ "Package packet provides access to Linux packet sockets (AF_PACKET).")
+ (license license:expat)))
+
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 26/33] gnu: Add go-github-com-neelance-sourcemap.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
9ff139bdbcc2dfa4420a5531b6a14fe43e19eedc.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-neelance-sourcemap): New variable.
---
gnu/packages/golang.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7299b1b17a..982c64b660 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13724,6 +13724,27 @@ (define-public go-github-com-neelance-astrewrite
(description #f)
(license license:bsd-2)))
+(define-public go-github-com-neelance-sourcemap
+ (package
+ (name "go-github-com-neelance-sourcemap")
+ (version "0.0.0-20200213170602-2833bce08e4c")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/neelance/sourcemap")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "05ymjg1z9phf0wp4w058kvf13bmn4skv67chb3r04z69in8y8jih"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/neelance/sourcemap"))
+ (home-page "https://github.com/neelance/sourcemap")
+ (synopsis #f)
+ (description #f)
+ (license license:bsd-2)))
+
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 31/33] gnu: Add go-github-com-netflix-go-expect.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
9bc6f5b0d10a462ff7eaa6f2ab38abea006b0da1.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-netflix-go-expect): New variable.
---
gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 64c2964aa7..fefc127e9d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13842,6 +13842,33 @@ (define-public go-github-com-shurcool-go-importgraphutil
(description "Common Go code.")
(license license:expat)))
+(define-public go-github-com-netflix-go-expect
+ (package
+ (name "go-github-com-netflix-go-expect")
+ (version "0.0.0-20220104043353-73e0943537d2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Netflix/go-expect")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0zkvhnc4ii6ygvcsj54ng0kql26rnny7l3hy1w61g88mxjsww1b9"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/Netflix/go-expect"))
+ (propagated-inputs `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
+ ("go-github-com-creack-pty" ,go-github-com-creack-pty)))
+ (home-page "https://github.com/Netflix/go-expect")
+ (synopsis "go-expect")
+ (description
+ "Package expect provides an expect-like interface to automate control of
+applications. It is unlike expect in that it does not spawn or manage process
+lifecycle. This package only focuses on expecting output and sending input
+through it's psuedoterminal.")
+ (license license:asl2.0)))
+
(define-public go-github-com-inconshreveable-mousetrap
(package
(name "go-github-com-inconshreveable-mousetrap")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 30/33] gnu: Add go-github-com-insomniacslk-dhcp-dhcpv4.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
6ab70cf41707e9a136b5aac30effa2bda84185ad.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-insomniacslk-dhcp-dhcpv4): New variable.
---
gnu/packages/golang.scm | 45 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)

Toggle diff (58 lines)
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
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 32/33] gnu: Add go-cloud-google-com-go-workflows.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
c4a2d0243462990be30cdffe2e63a19e6ee17ec9.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-cloud-google-com-go-workflows): New variable.
---
gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fefc127e9d..f6d924d571 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4800,6 +4800,38 @@ (define-public go-github-com-emicklei-go-restful
with the HTTP protocol definition.")
(license license:expat)))
+(define-public go-cloud-google-com-go-workflows
+ (package
+ (name "go-cloud-google-com-go-workflows")
+ (version "1.12.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/googleapis/google-cloud-go")
+ (commit (string-append "workflows/v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0nz7lrvfc503jgdiywy2h09b96ixcldv0lgxhxabpf3kkgd0qdvj"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "cloud.google.com/go/workflows"
+ #:unpack-path "cloud.google.com/go"
+ #:install-source? #t
+ ;; Source-only package
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Source-only package
+ (delete 'build))))
+ (home-page
+ "https://pkg.go.dev/cloud.google.com/go/workflows")
+ (synopsis #f)
+ (description #f)
+ (license license:asl2.0)))
+
(define-public go-cloud-google-com-go-compute-metadata
(package
(name "go-cloud-google-com-go-compute-metadata")
--
2.40.1
E
E
Edouard Klein wrote on 14 Sep 2023 10:03
[PATCH 33/33] gnu: Add go-github-com-hugelgupf-p9-cmd-p9ufs.
(address . 65974@debbugs.gnu.org)(name . Edouard Klein)(address . edk@beaver-labs.com)
256b4b074c53b804f4bdc88e0f1f9b74882a9b07.1694678168.git.edk@beaver-labs.com
* gnu/packages/golang.scm (go-github-com-hugelgupf-p9-cmd-p9ufs): New variable.
---
gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f6d924d571..34ed97da26 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13985,6 +13985,33 @@ (define-public go-github-com-vishvananda-netns
privileges, so in most cases this code needs to be run as root.")
(license license:asl2.0)))
+(define-public go-github-com-hugelgupf-p9-cmd-p9ufs
+ (package
+ (name "go-github-com-hugelgupf-p9-cmd-p9ufs")
+ (version "0.3.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hugelgupf/p9")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1ylbqh4in95xbj1pmdnxk3rhz0956gqg1m8sbivl30lyr6cmzphb"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/hugelgupf/p9/cmd/p9ufs"
+ #:unpack-path "github.com/hugelgupf/p9"
+ #:go ,go-1.20))
+ (propagated-inputs `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-github-com-u-root-uio-ulog" ,go-github-com-u-root-uio-ulog)))
+ (home-page "https://github.com/hugelgupf/p9")
+ (synopsis "p9")
+ (description
+ "p9 is a Golang 9P2000.L client and server originally written for @code{gVisor}.
+p9 supports Windows, BSD, and Linux on most Go-available architectures.")
+ (license license:asl2.0)))
+
(define-public go-github-com-gorilla-websocket
(package
(name "go-github-com-gorilla-websocket")
--
2.40.1
S
S
Sharlatan Hellseher wrote on 10 Oct 2023 03:34
(address . 65974@debbugs.gnu.org)
CAO+9K5qh9mrwCNYwUcYO15uoK+6yunHv9_R+VK=4zpeE0BO7tg@mail.gmail.com
Hi,
I've noticed Hashicorp in the list and in light of recent license change it
would good to double check the current license.
It wuld overlay with my attempt to pack Terraform and Packer (currel
working in my repository
which has 100+ go module in the first layer)
Regards,
Oleg
--
… ??? ????? - ???????????? ?????????????? ?????? ??????? ????????
????? ????? ????? ? ??? ??????, ??????????? ????? ???????, ??
?????????? ?? ? ????????? ??????? ????? ? ?????????????????.
?