rio: 0.0.36 -> 0.0.37
[NixPkgs.git] / pkgs / tools / networking / go-shadowsocks2 / default.nix
blobac6bbc1663aaa45f3cc17b5f74d1cac25c9d8cf4
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "go-shadowsocks2";
5   version = "0.1.5";
7   src = fetchFromGitHub {
8     owner = "shadowsocks";
9     repo = "go-shadowsocks2";
10     rev = "v${version}";
11     sha256 = "sha256-z2+5q8XlxMN7x86IOMJ0qbrW4Wrm1gp8GWew51yBRFg=";
12   };
14   vendorHash = "sha256-RrHksWET5kicbdQ5HRDWhNxx4rTi2zaVeaPoLdg4uQw=";
16   meta = with lib; {
17     description = "Fresh implementation of Shadowsocks in Go";
18     homepage = "https://github.com/shadowsocks/go-shadowsocks2/";
19     license = licenses.asl20;
20     maintainers = with maintainers; [ oxzi ];
21     mainProgram = "go-shadowsocks2";
22   };