fosrl-newt: 1.8.1 -> 1.9.0 (#483437)

This commit is contained in:
Fabian Affolter
2026-01-25 15:19:34 +00:00
committed by GitHub
+8 -8
View File
@@ -6,25 +6,25 @@
nix-update-script,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "newt";
version = "1.8.1";
version = "1.9.0";
src = fetchFromGitHub {
owner = "fosrl";
repo = "newt";
tag = version;
hash = "sha256-ndgigIk/3/cPZaJHfxWh6XvtAJe3S57sEwNTMBH0lSE=";
tag = finalAttrs.version;
hash = "sha256-Ya+OVSChGmiZ8JTAfl/im8fOhLCC+r6JKSlH+CnSwP8=";
};
vendorHash = "sha256-5Xr6mwPtsqEliKeKv2rhhp6JC7u3coP4nnhIxGMqccU=";
vendorHash = "sha256-Sib6AUCpMgxlMpTc2Esvs+UU0yduVOxWUgT44FHAI+k=";
nativeInstallCheckInputs = [ versionCheckHook ];
ldflags = [
"-s"
"-w"
"-X=main.newtVersion=${version}"
"-X=main.newtVersion=${finalAttrs.version}"
];
doInstallCheck = true;
@@ -36,7 +36,7 @@ buildGoModule rec {
meta = {
description = "Tunneling client for Pangolin";
homepage = "https://github.com/fosrl/newt";
changelog = "https://github.com/fosrl/newt/releases/tag/${src.tag}";
changelog = "https://github.com/fosrl/newt/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [
fab
@@ -45,4 +45,4 @@ buildGoModule rec {
];
mainProgram = "newt";
};
}
})