Loading pkgs/by-name/mu/mubeng/package.nix +11 −4 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildGoModule, fetchFromGitHub, versionCheckHook, }: buildGoModule rec { Loading @@ -9,7 +10,7 @@ buildGoModule rec { version = "0.22.0"; src = fetchFromGitHub { owner = "kitabisa"; owner = "mubeng"; repo = "mubeng"; tag = "v${version}"; hash = "sha256-YK3a975l/gMCaWxTB4gEQWAzzX+GRnYSvKksPmp3ZRA="; Loading @@ -20,13 +21,19 @@ buildGoModule rec { ldflags = [ "-s" "-w" "-X=ktbs.dev/mubeng/common.Version=${version}" "-X=github.com/mubeng/mubeng/common.Version=${version}" ]; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; versionCheckProgramArg = "--version"; meta = { description = "Proxy checker and IP rotator"; homepage = "https://github.com/kitabisa/mubeng"; changelog = "https://github.com/kitabisa/mubeng/releases/tag/v${version}"; homepage = "https://github.com/mubeng/mubeng"; changelog = "https://github.com/mubeng/mubeng/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; mainProgram = "mubeng"; Loading Loading
pkgs/by-name/mu/mubeng/package.nix +11 −4 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildGoModule, fetchFromGitHub, versionCheckHook, }: buildGoModule rec { Loading @@ -9,7 +10,7 @@ buildGoModule rec { version = "0.22.0"; src = fetchFromGitHub { owner = "kitabisa"; owner = "mubeng"; repo = "mubeng"; tag = "v${version}"; hash = "sha256-YK3a975l/gMCaWxTB4gEQWAzzX+GRnYSvKksPmp3ZRA="; Loading @@ -20,13 +21,19 @@ buildGoModule rec { ldflags = [ "-s" "-w" "-X=ktbs.dev/mubeng/common.Version=${version}" "-X=github.com/mubeng/mubeng/common.Version=${version}" ]; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; versionCheckProgramArg = "--version"; meta = { description = "Proxy checker and IP rotator"; homepage = "https://github.com/kitabisa/mubeng"; changelog = "https://github.com/kitabisa/mubeng/releases/tag/v${version}"; homepage = "https://github.com/mubeng/mubeng"; changelog = "https://github.com/mubeng/mubeng/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; mainProgram = "mubeng"; Loading