wakatime: 1.68.3 -> 1.70.0

This commit is contained in:
Aaron Jheng 2023-03-28 14:54:56 +08:00
parent ca46c51067
commit 6d0c84a94e
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

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