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