3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/go-shadowsocks2/default.nix

23 lines
601 B
Nix
Raw Normal View History

2021-01-13 09:12:29 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2019-08-26 17:06:09 +01:00
2021-01-13 09:12:29 +00:00
buildGoModule rec {
2019-08-26 17:06:09 +01:00
pname = "go-shadowsocks2";
2021-03-11 15:19:54 +00:00
version = "0.1.4";
2019-08-26 17:06:09 +01:00
src = fetchFromGitHub {
owner = "shadowsocks";
repo = "go-shadowsocks2";
rev = "v${version}";
2021-03-11 15:19:54 +00:00
sha256 = "sha256-ouJGrVribymak4SWaLbGhlp41iuw07VdxCypoBr1hWA=";
2019-08-26 17:06:09 +01:00
};
2021-03-11 15:19:54 +00:00
vendorSha256 = "sha256-RrHksWET5kicbdQ5HRDWhNxx4rTi2zaVeaPoLdg4uQw=";
2019-08-26 17:06:09 +01:00
meta = with lib; {
2019-08-26 17:06:09 +01:00
description = "Fresh implementation of Shadowsocks in Go";
homepage = "https://github.com/shadowsocks/go-shadowsocks2/";
license = licenses.asl20;
maintainers = with maintainers; [ oxzi ];
2019-08-26 17:06:09 +01:00
};
}