nixpkgs/pkgs/tools/networking/mubeng/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
637 B
Nix
Raw Normal View History

2021-05-26 18:30:26 +01:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "mubeng";
2022-03-03 11:28:38 +00:00
version = "0.9.3";
2021-05-26 18:30:26 +01:00
src = fetchFromGitHub {
owner = "kitabisa";
repo = pname;
rev = "v${version}";
2022-03-03 11:28:38 +00:00
sha256 = "sha256-qEIPu4miZpWL19N36DsKMbckXbHDTTZjp2ccZrV3LFc=";
2021-05-26 18:30:26 +01:00
};
vendorSha256 = "sha256-sAcDyGNOSm+BnsYyrR2x1vkGo6ZEykhkF7L9lzPrD+o=";
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 ];
};
}