2021-05-26 17:30:26 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mubeng";
|
2023-09-19 23:51:03 +00:00
|
|
|
version = "0.14.1";
|
2021-05-26 17:30:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kitabisa";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-09-19 23:51:03 +00:00
|
|
|
hash = "sha256-AxgvZdsJX16sZi4g8LnfceKuw/wBwvj6uoF/5zKldBk=";
|
2021-05-26 17:30:26 +00:00
|
|
|
};
|
|
|
|
|
2023-09-19 23:51:03 +00:00
|
|
|
vendorHash = "sha256-kOLeaEKtpI3l0qLphRTnm27Ms63ID4LJ6VkUHJzGAcc=";
|
2022-01-02 23:29:31 +00:00
|
|
|
|
2022-12-17 09:24:23 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X ktbs.dev/mubeng/common.Version=${version}"
|
|
|
|
];
|
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}";
|
2021-05-26 17:30:26 +00:00
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|