package.nix (630B)
1 { 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 }: 6 7 buildGoModule (finalAttrs: { 8 pname = "gpxgo"; 9 version = "1.4.0"; 10 11 __structuredAttrs = true; 12 13 src = fetchFromGitHub { 14 owner = "tkrajina"; 15 repo = "gpxgo"; 16 tag = "v${finalAttrs.version}"; 17 hash = "sha256-hSqu8WTHMJqQUKTZRygVdXbOLiImOUKIndNqFYJq+80="; 18 }; 19 20 vendorHash = "sha256-iX7Vqj/4MIK1EGuTJzrZgY8wNXX1PtIavw+qDfkV0uc="; 21 22 ldflags = [ 23 "-s" 24 "-w" 25 ]; 26 27 meta = { 28 description = "GPX library for golang"; 29 homepage = "https://github.com/tkrajina/gpxgo"; 30 license = lib.licenses.asl20; 31 maintainers = [ lib.maintainers.sikmir ]; 32 }; 33 })
