mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
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
This commit is contained in:
parent
023c3e0ac4
commit
849f219b72
1 changed files with 1 additions and 11 deletions
|
@ -1288,11 +1288,6 @@ (define-public go-github-com-operatorfoundation-shapeshifter-transports
|
||||||
`(#:unpack-path "github.com/OperatorFoundation/shapeshifter-transports"
|
`(#:unpack-path "github.com/OperatorFoundation/shapeshifter-transports"
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(replace 'build
|
||||||
(lambda arguments
|
(lambda arguments
|
||||||
(for-each
|
(for-each
|
||||||
|
@ -2124,11 +2119,6 @@ (define-public go-github-com-operatorfoundation-obfs4
|
||||||
`(#:unpack-path "github.com/OperatorFoundation/obfs4"
|
`(#:unpack-path "github.com/OperatorFoundation/obfs4"
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(replace 'build
|
||||||
(lambda arguments
|
(lambda arguments
|
||||||
(for-each
|
(for-each
|
||||||
|
@ -2397,7 +2387,7 @@ (define-public go-torproject-org-pluggable-transports-goptlib
|
||||||
(base32 "1lh938194hvkf8pqgnxwf6hvjv9rv0j3kasi07r2ckrj8sxzk4jc"))))
|
(base32 "1lh938194hvkf8pqgnxwf6hvjv9rv0j3kasi07r2ckrj8sxzk4jc"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(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/")
|
(home-page "https://gitweb.torproject.org/pluggable-transports/goptlib.git/")
|
||||||
(synopsis "Go pluggable transports library")
|
(synopsis "Go pluggable transports library")
|
||||||
(description "GoPtLib is a library for writing Tor pluggable transports in
|
(description "GoPtLib is a library for writing Tor pluggable transports in
|
||||||
|
|
Loading…
Reference in a new issue