2021-05-26 18:30:26 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mubeng";
|
2022-09-22 00:41:24 +01:00
|
|
|
version = "0.11.0";
|
2021-05-26 18:30:26 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kitabisa";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-09-22 00:41:24 +01:00
|
|
|
sha256 = "sha256-BY3X9N7XnBZ6mVX/o+EXruJmi3HYWMeY9enSuJY4jWI=";
|
2021-05-26 18:30:26 +01:00
|
|
|
};
|
|
|
|
|
2022-09-22 00:41:24 +01:00
|
|
|
vendorSha256 = "sha256-1JxyP6CrJ4/g7o3eGeN1kRXJU/jNLEB8fW1bjJytQqQ=";
|
2022-01-02 23:29:31 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X ktbs.dev/mubeng/common.Version=${version}" ];
|
2021-05-26 18:30:26 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Proxy checker and IP rotator";
|
|
|
|
homepage = "https://github.com/kitabisa/mubeng";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|