package.nix (822B)
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 __structuredAttrs = true; 13 14 src = fetchFromGitHub { 15 owner = "flopp"; 16 repo = "go-staticmaps"; 17 rev = "973b17999e196be69437fe40897af961b4557602"; 18 hash = "sha256-/dF9JW+Gmf3Y7Nr3J4NfjiQucLQC6v/Lzn7F1yQw158="; 19 }; 20 21 patches = [ ./extra-tileproviders.patch ]; 22 23 vendorHash = "sha256-082d3Ho+kUyvDAE9gRlHdjS3Jy9SSsCn/NZ0HXiKU5g="; 24 25 passthru.updateScript = unstableGitUpdater { }; 26 27 meta = { 28 description = "A go (golang) library and command line tool to render static map images using OpenStreetMap tiles"; 29 homepage = "https://github.com/flopp/go-staticmaps"; 30 license = lib.licenses.mit; 31 maintainers = [ lib.maintainers.sikmir ]; 32 }; 33 }
