nixpkgs/pkgs/servers/mbtileserver/default.nix

24 lines
580 B
Nix
Raw Normal View History

2020-09-15 08:41:37 +02:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mbtileserver";
version = "0.6.1";
src = fetchFromGitHub {
owner = "consbio";
repo = pname;
rev = "v${version}";
sha256 = "0b0982rn5jsv8zxfkrcmhys764nim6136hafc8ccj0mwdyvwafxd";
};
vendorSha256 = null;
meta = with lib; {
description = "A simple Go-based server for map tiles stored in mbtiles format";
homepage = "https://github.com/consbio/mbtileserver";
license = licenses.isc;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
};
}