mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
38 lines
866 B
Nix
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 ];
|
|
};
|
|
}
|