2019-04-10 16:56:21 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "brook";
|
2019-06-01 15:41:05 +01:00
|
|
|
version = "20190601";
|
2019-04-10 16:56:21 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/txthinking/brook";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "txthinking";
|
2019-09-09 00:38:31 +01:00
|
|
|
repo = pname;
|
2019-04-10 16:56:21 +01:00
|
|
|
rev = "v${version}";
|
2019-06-01 15:41:05 +01:00
|
|
|
sha256 = "04gx1p447wabw3d18s9sm8ynlvj2bp8ac9dsgs08kd1dyrsjlljk";
|
2019-04-10 16:56:21 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|