3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/mbtileserver/default.nix

25 lines
717 B
Nix
Raw Normal View History

2021-12-28 18:52:31 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2020-09-15 07:41:37 +01:00
buildGoModule rec {
pname = "mbtileserver";
2021-12-28 18:52:31 +00:00
version = "0.8.1";
2020-09-15 07:41:37 +01:00
src = fetchFromGitHub {
owner = "consbio";
repo = pname;
rev = "v${version}";
2021-12-28 18:52:31 +00:00
sha256 = "sha256-C6Gz+RBUrjnfJWo4Ou+s/JYJ8iVP9FMYJ/cxJjcVsXk=";
2020-09-15 07:41:37 +01:00
};
2021-12-22 18:09:54 +00:00
vendorSha256 = "sha256-36tUTZud0hxH9oZlnKxeK/xzoEzfw3xFMnd/r0srw6U=";
2020-09-15 07:41:37 +01: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 19:28:26 +01:00
changelog = "https://github.com/consbio/mbtileserver/blob/v${version}/CHANGELOG.md";
2020-09-15 07:41:37 +01:00
license = licenses.isc;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
};
}