mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
33 lines
731 B
Nix
33 lines
731 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "mubeng";
|
|
version = "0.12.0-dev";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kitabisa";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-NBZmu0VcVUhJSdM3fzZ+4Q5oX8uxO6GLpEUq74x8HUU=";
|
|
};
|
|
|
|
vendorHash = "sha256-1JxyP6CrJ4/g7o3eGeN1kRXJU/jNLEB8fW1bjJytQqQ=";
|
|
|
|
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 ];
|
|
};
|
|
}
|