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
727 B
Nix
Raw Normal View History

2021-05-26 19:30:26 +02:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "mubeng";
2023-03-12 10:10:01 +01:00
version = "0.14.0";
2021-05-26 19:30:26 +02:00
src = fetchFromGitHub {
owner = "kitabisa";
repo = pname;
rev = "v${version}";
2023-03-12 10:10:01 +01:00
hash = "sha256-Z1MwI76jOJft68+/yX4QEO7zYkUyQY7+DdZlejtNA8k=";
2021-05-26 19:30:26 +02:00
};
2023-02-12 11:36:44 +01:00
vendorHash = "sha256-1RJAmz3Tw6c2Y7lXlXvq/aEkVLO+smkwuNJbi7aBUNo=";
2022-12-17 10:24:23 +01:00
ldflags = [
"-s"
"-w"
"-X ktbs.dev/mubeng/common.Version=${version}"
];
2021-05-26 19:30:26 +02:00
meta = with lib; {
description = "Proxy checker and IP rotator";
homepage = "https://github.com/kitabisa/mubeng";
2022-12-17 10:24:23 +01:00
changelog = "https://github.com/kitabisa/mubeng/releases/tag/v${version}";
2021-05-26 19:30:26 +02:00
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}