forked from mirrors/nixpkgs
24 lines
580 B
Nix
24 lines
580 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|