2021-01-13 09:12:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
2019-08-26 16:06:09 +00:00
|
|
|
|
2021-01-13 09:12:29 +00:00
|
|
|
buildGoModule rec {
|
2019-08-26 16:06:09 +00:00
|
|
|
pname = "go-shadowsocks2";
|
2022-06-08 19:27:17 +00:00
|
|
|
version = "0.1.5";
|
2019-08-26 16:06:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "shadowsocks";
|
|
|
|
repo = "go-shadowsocks2";
|
|
|
|
rev = "v${version}";
|
2022-06-08 19:27:17 +00:00
|
|
|
sha256 = "sha256-z2+5q8XlxMN7x86IOMJ0qbrW4Wrm1gp8GWew51yBRFg=";
|
2019-08-26 16:06:09 +00:00
|
|
|
};
|
|
|
|
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-RrHksWET5kicbdQ5HRDWhNxx4rTi2zaVeaPoLdg4uQw=";
|
2019-08-26 16:06:09 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-08-26 16:06:09 +00:00
|
|
|
description = "Fresh implementation of Shadowsocks in Go";
|
|
|
|
homepage = "https://github.com/shadowsocks/go-shadowsocks2/";
|
|
|
|
license = licenses.asl20;
|
2020-08-15 13:25:59 +00:00
|
|
|
maintainers = with maintainers; [ oxzi ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "go-shadowsocks2";
|
2019-08-26 16:06:09 +00:00
|
|
|
};
|
|
|
|
}
|