2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-15 01:15:51 +00:00
nixpkgs/pkgs/tools/networking/mubeng/default.nix

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

33 lines
731 B
Nix
Raw Normal View History

2021-05-26 17:30:26 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "mubeng";
2022-12-14 03:40:10 +00:00
version = "0.12.0-dev";
2021-05-26 17:30:26 +00:00
src = fetchFromGitHub {
owner = "kitabisa";
repo = pname;
rev = "v${version}";
2022-12-17 09:24:23 +00:00
hash = "sha256-NBZmu0VcVUhJSdM3fzZ+4Q5oX8uxO6GLpEUq74x8HUU=";
2021-05-26 17:30:26 +00:00
};
2022-12-17 09:24:23 +00:00
vendorHash = "sha256-1JxyP6CrJ4/g7o3eGeN1kRXJU/jNLEB8fW1bjJytQqQ=";
2022-12-17 09:24:23 +00:00
ldflags = [
"-s"
"-w"
"-X ktbs.dev/mubeng/common.Version=${version}"
];
2021-05-26 17:30:26 +00:00
meta = with lib; {
description = "Proxy checker and IP rotator";
homepage = "https://github.com/kitabisa/mubeng";
2022-12-17 09:24:23 +00:00
changelog = "https://github.com/kitabisa/mubeng/releases/tag/v${version}";
2021-05-26 17:30:26 +00:00
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}