2021-06-04 09:07:49 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mubeng";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "0.14.2";
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kitabisa";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-MdTgYhHjgDFplh+wcb9QTwzwMZSmF2kqMmu1x8WmOyQ=";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-kOLeaEKtpI3l0qLphRTnm27Ms63ID4LJ6VkUHJzGAcc=";
|
2022-01-03 16:56:52 +00:00
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X ktbs.dev/mubeng/common.Version=${version}"
|
|
|
|
];
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Proxy checker and IP rotator";
|
|
|
|
homepage = "https://github.com/kitabisa/mubeng";
|
2022-12-28 21:21:41 +00:00
|
|
|
changelog = "https://github.com/kitabisa/mubeng/releases/tag/v${version}";
|
2021-06-04 09:07:49 +00:00
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "mubeng";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
}
|