1 { lib, buildGoModule, fetchFromGitHub }:
6 src = fetchFromGitHub {
10 hash = "sha256-b473V082jM8d0XRn4tPzVGLryFNHn5Cab3IkNWve49s=";
13 vendorHash = "sha256-QDGs0L29W4QQBeIH1Z23nI/FYdu95kLnOAIZEWPOMWw=";
15 ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.commit=v${version}" ];
18 mv $out/bin/go-pmtiles $out/bin/pmtiles
22 description = "Single-file utility for creating and working with PMTiles archives";
23 homepage = "https://github.com/protomaps/go-pmtiles";
24 license = licenses.bsd3;
25 maintainers = teams.geospatial.members ++ (with maintainers; [ theaninova ]);
26 mainProgram = "pmtiles";