From 69ac40bc3e277fca78be90c262a6dd7c5b042980 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Wed, 4 Jan 2023 23:35:38 +0800 Subject: [PATCH] rosenthal: Add go-github-com-macronut-go-tproxy. * rosenthal/packages/golang.scm (go-github-com-macronut-go-tproxy): New variable. --- rosenthal/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/rosenthal/packages/golang.scm b/rosenthal/packages/golang.scm index de8b1e4..a4ff44b 100644 --- a/rosenthal/packages/golang.scm +++ b/rosenthal/packages/golang.scm @@ -29,3 +29,26 @@ (description "This package provides packet processing capabilities for Go.") (license license:bsd-3))) + +(define-public go-github-com-macronut-go-tproxy + (package + (name "go-github-com-macronut-go-tproxy") + (version "0.0.0-20190726054950-ef7efd7f24ed") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FutureProtocolLab/go-tproxy") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0jibsg0xhsn0h1jq4g9qd4nr58w43y8majlwfri9ffk2cbfrwqdr")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/macronut/go-tproxy")) + (home-page "https://github.com/FutureProtocolLab/go-tproxy") + (synopsis "Linux Transparent Proxy library") + (description + "Golang TProxy provides an easy to use wrapper for the Linux Transparent +Proxy functionality.") + (license license:expat)))