depot/third_party/nixpkgs/pkgs/tools/networking/mubeng/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

33 lines
755 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "mubeng";
version = "0.14.2";
src = fetchFromGitHub {
owner = "kitabisa";
repo = pname;
rev = "v${version}";
hash = "sha256-MdTgYhHjgDFplh+wcb9QTwzwMZSmF2kqMmu1x8WmOyQ=";
};
vendorHash = "sha256-kOLeaEKtpI3l0qLphRTnm27Ms63ID4LJ6VkUHJzGAcc=";
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 ];
mainProgram = "mubeng";
};
}