mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
33 lines
727 B
Nix
33 lines
727 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "mubeng";
|
|
version = "0.14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kitabisa";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-Z1MwI76jOJft68+/yX4QEO7zYkUyQY7+DdZlejtNA8k=";
|
|
};
|
|
|
|
vendorHash = "sha256-1RJAmz3Tw6c2Y7lXlXvq/aEkVLO+smkwuNJbi7aBUNo=";
|
|
|
|
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 ];
|
|
};
|
|
}
|