1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/by-name/wo/workout-tracker/package.nix
2024-08-18 00:29:43 +02:00

38 lines
866 B
Nix

{
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 ];
};
}