2021-05-26 17:30:26 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mubeng";
|
2024-09-16 02:16:47 +00:00
|
|
|
version = "0.18.0";
|
2021-05-26 17:30:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kitabisa";
|
2024-09-16 08:11:13 +00:00
|
|
|
repo = "mubeng";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-09-16 02:16:47 +00:00
|
|
|
hash = "sha256-V+0XPuMM2Jg2LEpWzxRNLZ44YRoEnf/Fvbj51p9hwL4=";
|
2021-05-26 17:30:26 +00:00
|
|
|
};
|
|
|
|
|
2024-09-12 07:20:17 +00:00
|
|
|
vendorHash = "sha256-TZDQCvcwsCa08bBBb8Zs8W0OFDYb+ZWN85+VCelFgyc=";
|
2022-01-02 23:29:31 +00:00
|
|
|
|
2022-12-17 09:24:23 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
2024-09-16 08:11:13 +00:00
|
|
|
"-X=ktbs.dev/mubeng/common.Version=${version}"
|
2022-12-17 09:24:23 +00:00
|
|
|
];
|
2021-05-26 17:30:26 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Proxy checker and IP rotator";
|
|
|
|
homepage = "https://github.com/kitabisa/mubeng";
|
2022-12-17 09:24:23 +00:00
|
|
|
changelog = "https://github.com/kitabisa/mubeng/releases/tag/v${version}";
|
2024-09-16 08:11:13 +00:00
|
|
|
license = licenses.asl20;
|
2021-05-26 17:30:26 +00:00
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "mubeng";
|
2021-05-26 17:30:26 +00:00
|
|
|
};
|
|
|
|
}
|