mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
obfs4: 0.0.12 -> 0.0.14
This commit is contained in:
parent
cd08eded16
commit
d9685eb1a3
@ -1,16 +1,21 @@
|
||||
{ lib, fetchgit, buildGoModule }:
|
||||
{ lib, buildGoModule, fetchFromGitLab }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "obfs4";
|
||||
version = "0.0.12";
|
||||
version = "0.0.14";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.torproject.org/pluggable-transports/obfs4.git";
|
||||
rev = "a564bc3840bc788605e1a8155f4b95ce0d70c6db"; # not tagged
|
||||
sha256 = "0hqk540q94sh4wvm31jjcvpdklhf8r35in4yii7xnfn58a7amfkc";
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.torproject.org";
|
||||
group = "tpo";
|
||||
owner = "anti-censorship/pluggable-transports";
|
||||
repo = "obfs4";
|
||||
rev = "obfs4proxy-${version}";
|
||||
sha256 = "sha256-/d1qub/mhEzzLQFytgAlhz8ukIC9d+GPK2Hfi3NMv+M=";
|
||||
};
|
||||
|
||||
vendorSha256 = "0yjanv5piygffpdfysviijl7cql2k0r05bsxnlj4hbamsriz9xqy";
|
||||
vendorHash = "sha256-7NF3yMouhjSM9SBNKHkeWV7qy0XTGnepEX28kBpbgdk=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Circumvents censorship by transforming Tor traffic between clients and bridges";
|
||||
|
Loading…
Reference in New Issue
Block a user