mubeng: refactor

This commit is contained in:
Fabian Affolter 2024-09-16 10:11:13 +02:00 committed by GitHub
parent 18a45a613d
commit 26e9f44340
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,8 +9,8 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "kitabisa";
repo = pname;
rev = "v${version}";
repo = "mubeng";
rev = "refs/tags/v${version}";
hash = "sha256-V+0XPuMM2Jg2LEpWzxRNLZ44YRoEnf/Fvbj51p9hwL4=";
};
@ -19,14 +19,14 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X ktbs.dev/mubeng/common.Version=${version}"
"-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 ];
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "mubeng";
};