trojan-go: init at 0.10.6 (#373125)

authored by Gaétan Lepage and committed by GitHub 0974a837 c364e31d

+35
+35
pkgs/by-name/tr/trojan-go/package.nix
···
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + versionCheckHook, 6 + nix-update-script, 7 + }: 8 + 9 + buildGoModule rec { 10 + pname = "trojan-go"; 11 + version = "0.10.6"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "p4gefau1t"; 15 + repo = "trojan-go"; 16 + tag = "v${version}"; 17 + hash = "sha256-ZzIEKyLhHwYEWBfi6fHlCbkEImetEaRewbsHQEduB5Y="; 18 + }; 19 + 20 + vendorHash = "sha256-c6H/8/dmCWasFKVR15U/kty4AzQAqmiL/VLKrPtH+s4="; 21 + 22 + # tests fail due to requiring networking 23 + doCheck = false; 24 + 25 + passthru.updateScript = nix-update-script { }; 26 + 27 + meta = { 28 + description = "Proxy mechanism to bypass GFW"; 29 + homepage = "https://p4gefau1t.github.io/trojan-go/"; 30 + changelog = "https://github.com/p4gefau1t/trojan-go/releases/tag/v${version}"; 31 + maintainers = with lib.maintainers; [ ethancedwards8 ]; 32 + license = lib.licenses.gpl3Only; 33 + mainProgram = "trojan-go"; 34 + }; 35 + }