package.nix (692B)
1 { 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 }: 6 7 buildGoModule (finalAttrs: { 8 pname = "exercisediary"; 9 version = "0.1.9"; 10 11 __structuredAttrs = true; 12 13 src = fetchFromGitHub { 14 owner = "aceberg"; 15 repo = "ExerciseDiary"; 16 tag = finalAttrs.version; 17 hash = "sha256-ekGluDuBF4Zb/XTxLRdztVg447x13uo24nNTBuVSfj8="; 18 }; 19 20 vendorHash = "sha256-VKY5cvcjGfjOWa+GnMwdPOfTPOiwoXy0LB7kVD9l4kw="; 21 22 ldflags = [ "-s" ]; 23 24 meta = { 25 description = "Workout diary with GitHub-style year visualization"; 26 homepage = "https://github.com/aceberg/ExerciseDiary"; 27 license = lib.licenses.mit; 28 mainProgram = "ExerciseDiary"; 29 maintainers = [ lib.maintainers.sikmir ]; 30 }; 31 })
