{ lib, buildGoModule, fetchFromGitHub, nix-update-script, nixosTests, ... }: buildGoModule rec { pname = "workout-tracker"; version = "1.18.1"; src = fetchFromGitHub { owner = "jovandeginste"; repo = "workout-tracker"; rev = "refs/tags/v${version}"; hash = "sha256-Sn6SOHrsp1ZgsPntc2+cmlAEPVBUrYv1vKLKAQvT9m4="; }; vendorHash = null; passthru.updateScript = nix-update-script { }; passthru.tests = { inherit (nixosTests) workout-tracker; }; meta = { changelog = "https://github.com/jovandeginste/workout-tracker/releases/tag/v${version}"; description = "Workout tracking web application for personal use"; homepage = "https://github.com/jovandeginste/workout-tracker"; license = lib.licenses.mit; mainProgram = "workout-tracker"; maintainers = with lib.maintainers; [ bhankas ]; }; }