a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
32 lines
727 B
Nix
32 lines
727 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "mubeng";
|
|
version = "0.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kitabisa";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-FfqldK2iDB4Cy5M1uMUDEikV8JMMBzh2kgmvtZiJTOc=";
|
|
};
|
|
|
|
vendorHash = "sha256-5YqourXzrRdfmWdHE/ZsRTze2h02ZHAsprQrSTZFrhY=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X ktbs.dev/mubeng/common.Version=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Proxy checker and IP rotator";
|
|
homepage = "https://github.com/kitabisa/mubeng";
|
|
changelog = "https://github.com/kitabisa/mubeng/releases/tag/v${version}";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|