nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at devShellTools-shell 38 lines 850 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6buildGoModule rec { 7 pname = "pmtiles"; 8 version = "1.28.0"; 9 10 src = fetchFromGitHub { 11 owner = "protomaps"; 12 repo = "go-pmtiles"; 13 tag = "v${version}"; 14 hash = "sha256-g+QVsvf28LWkT2iEJUvG1f5eOjR444Xca5W5ImCQXvM="; 15 }; 16 17 vendorHash = "sha256-kfEzpaFMf0W8Ygtl40LBy3AZQSL+9Uo+n2x9OTOavqk="; 18 19 ldflags = [ 20 "-s" 21 "-w" 22 "-X main.version=${version}" 23 "-X main.commit=v${version}" 24 ]; 25 26 postInstall = '' 27 mv $out/bin/go-pmtiles $out/bin/pmtiles 28 ''; 29 30 meta = { 31 description = "Single-file utility for creating and working with PMTiles archives"; 32 homepage = "https://github.com/protomaps/go-pmtiles"; 33 license = lib.licenses.bsd3; 34 maintainers = with lib.maintainers; [ theaninova ]; 35 teams = [ lib.teams.geospatial ]; 36 mainProgram = "pmtiles"; 37 }; 38}