mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-10 22:24:40 +00:00
![stuebinm](/assets/img/avatar_default.png)
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
25 lines
714 B
Nix
25 lines
714 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mbtileserver";
|
|
version = "0.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "consbio";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-hKDgKiy3tmZ7gxmxZlflJHcxatrSqE1d1uhSLJh8XLo=";
|
|
};
|
|
|
|
vendorHash = "sha256-QcyFnzRdGdrVqgKEMbhaD7C7dkGKKhTesMMZKrrLx70=";
|
|
|
|
meta = with lib; {
|
|
description = "A simple Go-based server for map tiles stored in mbtiles format";
|
|
mainProgram = "mbtileserver";
|
|
homepage = "https://github.com/consbio/mbtileserver";
|
|
changelog = "https://github.com/consbio/mbtileserver/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.isc;
|
|
maintainers = teams.geospatial.members;
|
|
};
|
|
}
|