2019-04-10 15:56:21 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "brook";
|
2020-02-01 05:52:20 +00:00
|
|
|
version = "20200201";
|
2019-04-10 15:56:21 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/txthinking/brook";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "txthinking";
|
2019-09-08 23:38:31 +00:00
|
|
|
repo = pname;
|
2019-04-10 15:56:21 +00:00
|
|
|
rev = "v${version}";
|
2020-02-01 05:52:20 +00:00
|
|
|
sha256 = "0fyw2q99gapnrg836x299sgagx94a5jpw4x3gnsf69fih7cqp9lm";
|
2019-04-10 15:56:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/txthinking/brook;
|
|
|
|
description = "A cross-platform Proxy/VPN software";
|
|
|
|
license = with licenses; [ gpl3 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ xrelkd ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|