goshs: 1.0.6 -> 1.1.0

Changelog: https://github.com/patrickhener/goshs/releases/tag/v1.1.0
This commit is contained in:
Fabian Affolter
2025-07-04 15:05:42 +02:00
parent 55dc7f4585
commit 612960b52e

View File

@@ -8,16 +8,16 @@
buildGoModule (finalAttrs: {
pname = "goshs";
version = "1.0.6";
version = "1.1.0";
src = fetchFromGitHub {
owner = "patrickhener";
repo = "goshs";
tag = "v${finalAttrs.version}";
hash = "sha256-5/KWAytz0SQYgIerf1xyTfJxzX5ynA2BhKfbYmu/vU8=";
hash = "sha256-Me57EOUrpz37fsLYQpmPYjrhIokanS6HmICSjHmqeyU=";
};
vendorHash = "sha256-LzuY3l6QQnMtAoVM2i206BuoTkVLVHg1DTWZhjIepY8=";
vendorHash = "sha256-bDfeQQMMMUGLNvmFKEUgGhFkvY3emQp9lNVPbz2QiNk=";
ldflags = [
"-s"
@@ -25,7 +25,16 @@ buildGoModule (finalAttrs: {
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
preCheck = ''
# Possible race condition
rm integration/integration_test.go
# This is handled by nixpkgs
rm update/update_test.go
'';
checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
# utils_test.go:62: route ip+net: no such network interface
# does not work in sandbox even with __darwinAllowLocalNetworking