mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
25 lines
712 B
Nix
25 lines
712 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mbtileserver";
|
|
version = "0.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "consbio";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-RLaAhc24zdCFvpSN2LZXNyS1ygg9zCi4jEj8owdreWU=";
|
|
};
|
|
|
|
vendorHash = "sha256-yn7LcR/DvHDSRicUnWLrFZKqZti+YQoLSk3mZkDIj10=";
|
|
|
|
meta = with lib; {
|
|
description = "Simple Go-based server for map tiles stored in mbtiles format";
|
|
mainProgram = "mbtileserver";
|
|
homepage = "https://github.com/consbio/mbtileserver";
|
|
changelog = "https://github.com/consbio/mbtileserver/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.isc;
|
|
maintainers = teams.geospatial.members;
|
|
};
|
|
}
|