Merge pull request #223515 from aaronjheng/wakatime

wakatime: 1.68.3 -> 1.70.0
This commit is contained in:
Weijia Wang 2023-03-29 01:18:47 +03:00 committed by GitHub
commit 5e2ca1e02f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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})]")
'';