1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

Merge pull request #324750 from Sigmanificient/wakatime-cli-1.93.0

wakatime-cli: 1.90.0 -> 1.93.0
This commit is contained in:
Marcus Ramberg 2024-07-05 10:08:42 +02:00 committed by GitHub
commit 8eb4a19de3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,16 +8,16 @@
buildGo122Module rec {
pname = "wakatime-cli";
version = "1.90.0";
version = "1.93.0";
src = fetchFromGitHub {
owner = "wakatime";
repo = "wakatime-cli";
rev = "v${version}";
hash = "sha256-A2YrDrXmMR4BJUOYuo3h3Pa5HqyYSoDr/qdH54INU3w=";
hash = "sha256-S4AvAGpaxp5lKi9RnLLaN8qLURYsLWIzhtXKRgQPuGc=";
};
vendorHash = "sha256-pejrUFcv9c4ZAE3Cuw7uytc1T2pr7SOZNJ/Wr8K+fas=";
vendorHash = "sha256-+9zdEIaKQlLcBwFaY5Fe5mpHWQDqfV+j1TPmDkdRjyk=";
ldflags = [
"-s"
@ -25,6 +25,11 @@ buildGo122Module rec {
"-X github.com/wakatime/wakatime-cli/pkg/version.Version=${version}"
];
postPatch = ''
substituteInPlace go.mod \
--replace-fail "go 1.22.4" "go 1.22.3"
'';
checkFlags =
let
skippedTests = [