From 99b978c2c21c3eb59512c8545083a96f9b06d460 Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Tue, 6 Jan 2026 09:41:57 -0500 Subject: gnu: Add go-github-com-tailscale-peercred. * gnu/packages/golang-xyz.scm (go-github-com-tailscale-peercred): New variable. Relates-to: https://codeberg.org/guix/guix/pulls/5417 Change-Id: I581585c604375eb3c47fc16ca877e82fd0659cf7 Reviewed-by: Arthur Rodrigues Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index c06a68a28d..3d5b2cb213 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -18026,6 +18026,34 @@ a high-level interface that is loosly modeled on the iproute2 cli. It's an alternative fork of @url{https://github.com/vishvananda/netlink}.") (license license:asl2.0))) +(define-public go-github-com-tailscale-peercred + (package + (name "go-github-com-tailscale-peercred") + (version "0.0.0-20250107143737-35a0c7bd7edc") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tailscale/peercred") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0lcks6xxf1d6860h0x5bagjmbsbkycwhgg7y95qnzl2qvrv2zh4v")))) + (build-system go-build-system) + (arguments + (list + #:test-flags + #~(list "-skip" "TestUnixSock") + #:import-path "github.com/tailscale/peercred")) + (propagated-inputs + (list go-golang-org-x-sys)) + (home-page "https://github.com/tailscale/peercred") + (synopsis "Golang library to get information out of a network connection") + (description + "This package maps from a @code{net.Conn} to information about the other +side of the connection, using various OS-specific facilities.") + (license license:bsd-3))) + (define-public go-github-com-tdewolff-minify-v2 (package (name "go-github-com-tdewolff-minify-v2") -- cgit v1.3