all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sarah Morgensen <iskarian@mgsn.dev>
To: 49989@debbugs.gnu.org
Subject: [bug#49989] [PATCH v2] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path.
Date: Thu, 12 Aug 2021 21:37:00 -0700	[thread overview]
Message-ID: <ee0f780a53c9888f85cebc76d6c8cf8e0264a91b.1628829129.git.iskarian@mgsn.dev> (raw)
In-Reply-To: <8f8a2f210151bdeb437bb3a12b67f43c76286aa4.1628629367.git.iskarian@mgsn.dev>

* 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.
---
Since it will break builds if these are applied separately, I went ahead and
merged these into one commit.

 gnu/packages/golang.scm | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f4cd30c662..20c8a519dc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -661,11 +661,6 @@ filtering devices.")
      `(#: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
@@ -1205,11 +1200,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
@@ -1356,7 +1346,7 @@ parsing and encoding support for STUN and TURN protocols.")
         (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

base-commit: d87d6d68128c53a95fe09c3a4381575646c0f368
-- 
2.31.1





  parent reply	other threads:[~2021-08-13  4:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10 21:07 [bug#49989] [PATCH 1/3] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path Sarah Morgensen
2021-08-10 21:10 ` [bug#49989] [PATCH 2/3] gnu: go-github-com-operatorfoundation-shapeshifter-transports: Remove goptlib patch Sarah Morgensen
2021-08-10 21:10 ` [bug#49989] [PATCH 3/3] gnu: go-github-com-operatorfoundation-obfs4: " Sarah Morgensen
2021-08-13  4:37 ` Sarah Morgensen [this message]
2024-01-31 20:23 ` bug#49989: [PATCH 1/3] gnu: go-torproject-org-pluggable-transports-goptlib: Fix import path Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee0f780a53c9888f85cebc76d6c8cf8e0264a91b.1628829129.git.iskarian@mgsn.dev \
    --to=iskarian@mgsn.dev \
    --cc=49989@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.