depot/third_party/nixpkgs/pkgs/tools/networking/go-shadowsocks2/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
631 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "go-shadowsocks2";
version = "0.0.11";
goPackagePath = "github.com/shadowsocks/go-shadowsocks2";
src = fetchFromGitHub {
owner = "shadowsocks";
repo = "go-shadowsocks2";
rev = "v${version}";
sha256 = "1dprz84gmcp6xcsk873lhj32wm8b55vnqn0s984ggvwf1rjqw00c";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "Fresh implementation of Shadowsocks in Go";
homepage = "https://github.com/shadowsocks/go-shadowsocks2/";
license = licenses.asl20;
maintainers = with maintainers; [ geistesk ];
};
}