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