summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Norton <patrick.147.norton@gmail.com>2026-01-06 09:41:57 -0500
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-04-30 21:34:00 +0100
commit99b978c2c21c3eb59512c8545083a96f9b06d460 (patch)
tree11dde8700f127f27af5f687ec4cbea4b99ce5e54
parentefbb26f96737a021d05364d3eba98135ebc22878 (diff)
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 <arthurhdrodrigues@proton.me> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-web.scm28
1 files changed, 28 insertions, 0 deletions
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")