depot/third_party/nixpkgs/pkgs/servers/mbtileserver/default.nix

24 lines
580 B
Nix
Raw Normal View History

{ 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;
};
}