mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #223515 from aaronjheng/wakatime
wakatime: 1.68.3 -> 1.70.0
This commit is contained in:
commit
5e2ca1e02f
@ -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})]")
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user