diff --git a/pkgs/by-name/we/webtunnel/package.nix b/pkgs/by-name/we/webtunnel/package.nix index a0dea74b358f..0ddaeef6860b 100644 --- a/pkgs/by-name/we/webtunnel/package.nix +++ b/pkgs/by-name/we/webtunnel/package.nix @@ -3,16 +3,18 @@ buildGoModule, fetchFromGitLab, }: -buildGoModule { + +buildGoModule rec { pname = "webtunnel"; - version = "0-unstable-2024-07-06"; # package is not versioned upstream + version = "0.0.3"; + src = fetchFromGitLab { domain = "gitlab.torproject.org"; group = "tpo"; owner = "anti-censorship/pluggable-transports"; repo = "webtunnel"; - rev = "e64b1b3562f3ab50d06141ecd513a21ec74fe8c6"; - hash = "sha256-25ZtoCe1bcN6VrSzMfwzT8xSO3xw2qzE4Me3Gi4GbVs="; + rev = "v${version}"; + hash = "sha256-HB95GCIJeO5fKUW23VHrtNZdc9x9fk2vnmI9JogDWSQ="; }; vendorHash = "sha256-3AAPySLAoMimXUOiy8Ctl+ghG5q+3dWRNGXHpl9nfG0="; @@ -22,7 +24,5 @@ buildGoModule { homepage = "https://community.torproject.org/relay/setup/webtunnel/"; maintainers = [ lib.maintainers.gbtb ]; license = lib.licenses.mit; - platforms = lib.platforms.linux; }; - }