2021-08-21 20:30:55 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-04-10 15:56:21 +00:00
|
|
|
|
2021-08-21 20:30:55 +00:00
|
|
|
buildGoModule rec {
|
2019-04-10 15:56:21 +00:00
|
|
|
pname = "brook";
|
2023-03-28 04:25:03 +00:00
|
|
|
version = "20230404";
|
2019-04-10 15:56:21 +00:00
|
|
|
|
|
|
|
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}";
|
2023-03-28 04:25:03 +00:00
|
|
|
sha256 = "sha256-nh59sfOWLk4evuIxa35bWu0J6xSUIzrPv4oQHWSZInA=";
|
2019-04-10 15:56:21 +00:00
|
|
|
};
|
|
|
|
|
2023-03-28 04:25:03 +00:00
|
|
|
vendorHash = "sha256-PYdR0vfgOgRheHDvoIC9jCFmfzCSOhxqcPFm+MqirsQ=";
|
2019-04-10 15:56:21 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/txthinking/brook";
|
2019-04-10 15:56:21 +00:00
|
|
|
description = "A cross-platform Proxy/VPN software";
|
2021-08-21 20:30:55 +00:00
|
|
|
license = with licenses; [ gpl3Only ];
|
2021-10-29 15:01:37 +00:00
|
|
|
platforms = platforms.unix;
|
2019-04-10 15:56:21 +00:00
|
|
|
maintainers = with maintainers; [ xrelkd ];
|
|
|
|
};
|
|
|
|
}
|