diff options
author | Sarah Morgensen <iskarian@mgsn.dev> | 2021-08-12 21:37:00 -0700 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-01-31 19:59:42 +0000 |
commit | 849f219b72b5638b6abaf7d143654976ad99042e (patch) | |
tree | 23b87f6f6ae9f62a3bfec5625bb7201f5025299b | |
parent | 023c3e0ac44e7fc35eeebc87535a47df2cd01485 (diff) | |
download | guix-849f219b72b5638b6abaf7d143654976ad99042e.tar.gz |
gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path.
* gnu/packages/golang.scm (go-torproject-org-pluggable-transports-goptlib) [arguments] <#:import-path>: Use actual module name from go.mod. (go-github-com-operatorfoundation-shapeshifter-transports) [arguments] <#:phases>: Remove obsolete 'patch phase for goptlib. (go-github-com-operatorfoundation-obfs4) [arguments] <#:phases>: Likewise. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Change-Id: Ib2e49164e2c750694101b497afe1be67c7fe6302
-rw-r--r-- | gnu/packages/golang.scm | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a8f55df915..15904a4273 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1288,11 +1288,6 @@ retry strategies, such as fixed delay, backoff delay, and random delay.") `(#:unpack-path "github.com/OperatorFoundation/shapeshifter-transports" #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch - (lambda _ - (substitute* (find-files "." "\\.go$") - ;; To drop '.git' suffix in import path of goptlib. - (("goptlib\\.git") "goptlib")))) (replace 'build (lambda arguments (for-each @@ -2124,11 +2119,6 @@ protocol from the Pluggable Transports 2.0 specification.") `(#:unpack-path "github.com/OperatorFoundation/obfs4" #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch - (lambda _ - (substitute* (find-files "." "\\.go$") - ;; To drop '.git' suffix in import path of goptlib. - (("goptlib\\.git") "goptlib")))) (replace 'build (lambda arguments (for-each @@ -2397,7 +2387,7 @@ translated keywords and acts.") (base32 "1lh938194hvkf8pqgnxwf6hvjv9rv0j3kasi07r2ckrj8sxzk4jc")))) (build-system go-build-system) (arguments - `(#:import-path "git.torproject.org/pluggable-transports/goptlib")) + `(#:import-path "git.torproject.org/pluggable-transports/goptlib.git")) (home-page "https://gitweb.torproject.org/pluggable-transports/goptlib.git/") (synopsis "Go pluggable transports library") (description "GoPtLib is a library for writing Tor pluggable transports in |