[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
149/172: gnu: Add go-github-com-cretz-bine.
From: |
guix-commits |
Subject: |
149/172: gnu: Add go-github-com-cretz-bine. |
Date: |
Mon, 21 Oct 2024 17:30:42 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 440ec40b1002e8cc313aea8a71a664b8abd4f4f7
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Sep 22 21:41:18 2024 +0100
gnu: Add go-github-com-cretz-bine.
* gnu/packages/golang-web.scm (go-github-com-cretz-bine): New variable.
Change-Id: I2c3e8bc8ba22e6b76c26412f332d90f29e6ec76a
---
gnu/packages/golang-web.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 93551c7664..e2f50ad1eb 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -922,6 +922,54 @@ Any}.")
go-golang-org-x-net
go-golang-org-x-oauth2))))
+(define-public go-github-com-cretz-bine
+ (package
+ ;; This package can be used with CGO to statically compile Tor. This
+ ;; package expects <https://github.com/cretz/tor-static> to be cloned at
+ ;; $GOPATH/src/github.com/cretz/tor-static as if it was fetched with go
+ ;; get. If you use go modules the expected path would be
+ ;; $GOPATH/pkg/mod/github.com/cretz/tor-static libs. See
+ ;;
<https://github.com/cretz/bine/blob/v0.2.0/process/embedded/process.go#L7>.
+ (name "go-github-com-cretz-bine")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cretz/bine")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16h7j7v4qbwb7zjsbc1p3b67xji7hgis95znz9cj8fw3rqxwvkcs"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/cretz/bine"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (delete-file-recursively "examples")))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-golang-org-x-crypto
+ go-golang-org-x-net))
+ (home-page "https://github.com/cretz/bine")
+ (synopsis "Accessing and embedding Tor clients and servers from Golang")
+ (description
+ "Bine is a toolkit to assist in creating Tor clients and servers.
+Features:
+@itemize
+@item full support for the Tor controller API
+@item support for @code{net.Conn} and @code{net.Listen} style APIs
+@item supports statically compiled Tor to embed Tor into the binary
+@item supports v3 onion services
+@item support for embedded control socket in Tor >= 0.3.5
+@end itemize")
+ (license license:expat)))
+
(define-public go-github-com-datadog-datadog-go
(package
(name "go-github-com-datadog-datadog-go")
- 169/172: gnu: run: Update to 0.11.2., (continued)
- 169/172: gnu: run: Update to 0.11.2., guix-commits, 2024/10/21
- 128/172: gnu: go-github-com-deckarep-golang-set-v2: Update to 2.6.0., guix-commits, 2024/10/21
- 53/172: gnu: go-github-com-google-renameio: Move to golang-build., guix-commits, 2024/10/21
- 61/172: gnu: go-golang-org-x-crypto: Update to 0.27.0., guix-commits, 2024/10/21
- 113/172: gnu: Add go-github-com-pquerna-ffjson., guix-commits, 2024/10/21
- 129/172: gnu: Add go-github-com-workiva-go-datastructures., guix-commits, 2024/10/21
- 134/172: gnu: go-github-com-shadowsocks-go-shadowsocks2: Enable all tests., guix-commits, 2024/10/21
- 138/172: gnu: go-github.com-smartystreets-goconvey: Rename variable., guix-commits, 2024/10/21
- 142/172: gnu: Remove go-github-com-smartystreets-assertions., guix-commits, 2024/10/21
- 145/172: gnu: go-github-com-sevlyar-go-daemon: Move to golang-xyz., guix-commits, 2024/10/21
- 149/172: gnu: Add go-github-com-cretz-bine.,
guix-commits <=
- 160/172: gnu: go-github-com-fsnotify-fsnotify: Move to golang-xyz., guix-commits, 2024/10/21
- 170/172: build/go: fix-embed-files: Adjust procedure docstring., guix-commits, 2024/10/21
- 54/172: gnu: go-github-com-google-go-cmdtest: Move to golang-build., guix-commits, 2024/10/21
- 79/172: gnu: go-github-com-go-logr-logr: Update to 1.4.2., guix-commits, 2024/10/21
- 78/172: gnu: go-golang-org-x-oauth2: Update to 0.23.0., guix-commits, 2024/10/21
- 88/172: gnu: go-github-go-git: Rename variable., guix-commits, 2024/10/21
- 107/172: gnu: Add go-github-com-circonus-labs-circonus-gometrics-v3., guix-commits, 2024/10/21
- 23/172: gnu: packages/golang-crypto: Apply #:subdir parameter., guix-commits, 2024/10/21
- 21/172: import/go: Account for monorepo modules in the Go importer., guix-commits, 2024/10/21
- 65/172: gnu: go-github-com-google-goterm: Update to 0.0.0-20200907032337-555d40f16ae2., guix-commits, 2024/10/21