unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Lassieur" <clement@lassieur.org>
To: 68067@debbugs.gnu.org
Cc: "Clément Lassieur" <clement@lassieur.org>,
	"Katherine Cox-Buday" <cox.katherine.e+guix@gmail.com>
Subject: [bug#68067] [PATCH 7/8] gnu: Add go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird.
Date: Wed, 27 Dec 2023 22:12:13 +0100	[thread overview]
Message-ID: <8f9c818605c1899b71243f1ea53648a3a44bc721.1703711347.git.clement@lassieur.org> (raw)
In-Reply-To: <87plyrjqzl.fsf@lassieur.org>

* gnu/packages/golang.scm
(go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird):
New variable.

Change-Id: I03b390aa6e8644646622a4f5b89f25e6cd2f7bb0
---
 gnu/packages/golang.scm | 48 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cc9a36481f07..b74863c37083 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2570,6 +2570,54 @@ (define-public go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports
 Go.")
     (license license:cc0)))
 
+(define-public go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird
+  (package
+    (name "go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird")
+                    (commit (string-append "lyrebird-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0rifg5kgqp4c3b44j48fjmx00m00ai7fa4gaqrgphiqs1fc5586s"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird"
+       #:import-path "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird/cmd/lyrebird"
+       #:go ,go-1.20
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'substitutions
+           (lambda _
+             (with-directory-excursion
+                 "src/gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird"
+               (for-each
+                (lambda (file)
+                  (substitute* file
+                    (("edwards25519-extra.git") "edwards25519-extra")))
+                (list "common/ntor/ntor_test.go"
+                      "internal/x25519ell2/x25519ell2.go"))
+               (substitute* "internal/x25519ell2/x25519ell2.go"
+                 (("gitlab.com/yawning/obfs4.git")
+                  "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird"))))))))
+    (propagated-inputs
+     (list go-filippo-io-edwards25519
+           go-github-com-dchest-siphash
+           go-github-com-refraction-networking-utls
+           go-gitlab-com-yawning-edwards25519-extra
+           go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-goptlib
+           go-golang-org-x-crypto
+           go-golang-org-x-net
+           go-golang-org-x-text))
+    (home-page "https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird")
+    (synopsis "Look-like nothing obfuscation protocol")
+    (description "This is a look-like nothing obfuscation protocol that
+incorporates ideas and concepts from Philipp Winter's ScrambleSuit protocol.")
+    (license (list license:bsd-2 license:bsd-3))))
+
 (define-public go-github-com-sevlyar-go-daemon
   (package
     (name "go-github-com-sevlyar-go-daemon")
-- 
2.41.0





  parent reply	other threads:[~2023-12-27 21:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-27 21:05 [bug#68067] gnu: torbrowser: Add bridges Clément Lassieur
2023-12-27 21:12 ` [bug#68067] [PATCH 1/8] gnu: Add go-gitlab-com-yawning-edwards25519-extra Clément Lassieur
2023-12-27 21:12 ` [bug#68067] [PATCH 2/8] gnu: Add go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-goptlib Clément Lassieur
2023-12-27 21:12 ` [bug#68067] [PATCH 3/8] gnu: Add go-github-com-gaukas-godicttls Clément Lassieur
2023-12-27 21:12 ` [bug#68067] [PATCH 4/8] gnu: Add go-github-com-bwesterb-go-ristretto Clément Lassieur
2023-12-27 21:12 ` [bug#68067] [PATCH 5/8] gnu: Add go-github-com-cloudflare-circl Clément Lassieur
2023-12-27 21:12 ` [bug#68067] [PATCH 6/8] gnu: Add go-github-com-refraction-networking-utls Clément Lassieur
2023-12-27 21:12 ` Clément Lassieur [this message]
2023-12-27 21:12 ` [bug#68067] [PATCH 8/8] gnu: torbrowser: Add bridges Clément Lassieur
2024-01-12 18:03 ` bug#68067: " Clément Lassieur

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=8f9c818605c1899b71243f1ea53648a3a44bc721.1703711347.git.clement@lassieur.org \
    --to=clement@lassieur.org \
    --cc=68067@debbugs.gnu.org \
    --cc=cox.katherine.e+guix@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).