nixpkgs/pkgs/servers/mbtileserver/default.nix

25 lines
717 B
Nix
Raw Normal View History

2020-09-15 06:41:37 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mbtileserver";
2021-05-14 18:28:26 +00:00
version = "0.7.0";
2020-09-15 06:41:37 +00:00
src = fetchFromGitHub {
owner = "consbio";
repo = pname;
rev = "v${version}";
2021-05-14 18:28:26 +00:00
sha256 = "sha256-QdirExVv7p7Mnhp8EGdTVRlmEiYpzoXVQbtO8aS9Kas=";
2020-09-15 06:41:37 +00:00
};
2021-05-14 18:28:26 +00:00
vendorSha256 = "sha256-mUUxUZn8out6WNvKJKHoz+R44RDB0oWJb+57w72+E5w=";
2020-09-15 06:41:37 +00:00
meta = with lib; {
description = "A simple Go-based server for map tiles stored in mbtiles format";
homepage = "https://github.com/consbio/mbtileserver";
2021-05-14 18:28:26 +00:00
changelog = "https://github.com/consbio/mbtileserver/blob/v${version}/CHANGELOG.md";
2020-09-15 06:41:37 +00:00
license = licenses.isc;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
};
}