2021-08-21 22:30:55 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-04-10 17:56:21 +02:00
|
|
|
|
2021-08-21 22:30:55 +02:00
|
|
|
buildGoModule rec {
|
2019-04-10 17:56:21 +02:00
|
|
|
pname = "brook";
|
2022-05-21 12:22:32 +02:00
|
|
|
version = "20220515";
|
2019-04-10 17:56:21 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "txthinking";
|
2019-09-09 01:38:31 +02:00
|
|
|
repo = pname;
|
2019-04-10 17:56:21 +02:00
|
|
|
rev = "v${version}";
|
2022-05-21 12:22:32 +02:00
|
|
|
sha256 = "sha256-olYlAuIcK34nNXbfiPT4+u0L3xcxBMMty72FjSeuNqg=";
|
2019-04-10 17:56:21 +02:00
|
|
|
};
|
|
|
|
|
2022-03-04 03:04:00 +01:00
|
|
|
vendorSha256 = "sha256-ic5QYRVElEuH4D29PXgTzMHU0KjrxDqcdfg7Kd37/YU=";
|
2019-04-10 17:56:21 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/txthinking/brook";
|
2019-04-10 17:56:21 +02:00
|
|
|
description = "A cross-platform Proxy/VPN software";
|
2021-08-21 22:30:55 +02:00
|
|
|
license = with licenses; [ gpl3Only ];
|
2021-10-29 17:01:37 +02:00
|
|
|
platforms = platforms.unix;
|
2019-04-10 17:56:21 +02:00
|
|
|
maintainers = with maintainers; [ xrelkd ];
|
|
|
|
};
|
|
|
|
}
|