default.nix (793B)
1 { 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 unstableGitUpdater, 6 }: 7 8 buildGoModule { 9 pname = "go-staticmaps"; 10 version = "0-unstable-2025-06-29"; 11 12 src = fetchFromGitHub { 13 owner = "flopp"; 14 repo = "go-staticmaps"; 15 rev = "973b17999e196be69437fe40897af961b4557602"; 16 hash = "sha256-/dF9JW+Gmf3Y7Nr3J4NfjiQucLQC6v/Lzn7F1yQw158="; 17 }; 18 19 patches = [ ./extra-tileproviders.patch ]; 20 21 vendorHash = "sha256-082d3Ho+kUyvDAE9gRlHdjS3Jy9SSsCn/NZ0HXiKU5g="; 22 23 passthru.updateScript = unstableGitUpdater { }; 24 25 meta = { 26 description = "A go (golang) library and command line tool to render static map images using OpenStreetMap tiles"; 27 homepage = "https://github.com/flopp/go-staticmaps"; 28 license = lib.licenses.mit; 29 maintainers = [ lib.maintainers.sikmir ]; 30 }; 31 }