13 src = fetchFromGitHub {
16 rev = "refs/tags/${version}";
17 hash = "sha256-/aacT/VLA5S4PeGcxEGaCpgAw++b3VFD7T0CldZWcQI=";
20 vendorHash = "sha256-Q56Ud0MtkstB/dhn+QyAHTzIqHsmKvHEK+5PAt5lIMM=";
22 # Not a go module required by the project, contains development utilities
23 excludedPackages = [ "scripts" ];
25 # Fix up reported version
26 postPatch = ''echo ${version} > version.txt'';
34 homepage = "https://wakapi.dev/";
35 changelog = "https://github.com/muety/wakapi/releases/tag/${version}";
36 description = "Minimalist self-hosted WakaTime-compatible backend for coding statistics";
37 license = lib.licenses.gpl3Only;
38 maintainers = with lib.maintainers; [
42 mainProgram = "wakapi";