From 6d0c84a94e777f216823af82b1112c7c30352279 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Tue, 28 Mar 2023 14:54:56 +0800 Subject: wakatime: 1.68.3 -> 1.70.0 --- pkgs/tools/misc/wakatime/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/wakatime/default.nix b/pkgs/tools/misc/wakatime/default.nix index 45d7e95103b4..eda5790c7c41 100644 --- a/pkgs/tools/misc/wakatime/default.nix +++ b/pkgs/tools/misc/wakatime/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "wakatime"; - version = "1.68.3"; + version = "1.70.0"; src = fetchFromGitHub { owner = "wakatime"; repo = "wakatime-cli"; rev = "v${version}"; - hash = "sha256-LifMxov7j2yRDtwh74RjjwfcHfFc/zWrzX96vb2hI9o="; + hash = "sha256-JURz3xPZIqrPreh+kT+o62cOhw55anUH4kqaT3t0tM0="; }; vendorHash = "sha256-SlYYrlRDBvhNm2BxemK9HzzsqM/RGH/sDQXpoGEY8rw="; @@ -22,15 +22,19 @@ buildGoModule rec { preCheck = let skippedTests = [ + # Tests requiring network "TestFileExperts" "TestSendHeartbeats" "TestSendHeartbeats_ExtraHeartbeats" "TestSendHeartbeats_IsUnsavedEntity" "TestSendHeartbeats_NonExistingExtraHeartbeatsEntity" + + # Flaky tests + "TestLoadParams_ApiKey_FromVault_Err_Darwin" ]; in '' - # Disable tests requiring network + # Disable tests buildFlagsArray+=("-run" "[^(${builtins.concatStringsSep "|" skippedTests})]") ''; -- cgit 1.4.1