reproxy: modernize (#554720)

This commit is contained in:
Nikolay Korotkiy
2026-08-20 17:38:45 +00:00
committed by GitHub

View File

@@ -3,12 +3,15 @@
buildGoModule,
fetchFromGitHub,
installShellFiles,
versionCheckHook,
}:
buildGoModule (finalAttrs: {
pname = "reproxy";
version = "1.7.1";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "umputun";
repo = "reproxy";
@@ -22,7 +25,6 @@ buildGoModule (finalAttrs: {
ldflags = [
"-s"
"-w"
"-X main.revision=${finalAttrs.version}"
];
@@ -36,6 +38,9 @@ buildGoModule (finalAttrs: {
installShellCompletion completions/*
'';
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
__darwinAllowLocalNetworking = true;
meta = {