goshs: 1.0.6 -> 1.1.0 (#422412)

This commit is contained in:
Fabian Affolter 2025-07-04 22:10:57 +02:00 committed by GitHub
commit eba698403c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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