diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/tegola/default.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/tegola/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/tegola/default.nix b/nixpkgs/pkgs/servers/tegola/default.nix new file mode 100644 index 000000000000..24e25f0c1377 --- /dev/null +++ b/nixpkgs/pkgs/servers/tegola/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + pname = "tegola"; + version = "0.11.2"; + + goPackagePath = "github.com/go-spatial/tegola"; + + src = fetchFromGitHub { + owner = "go-spatial"; + repo = pname; + rev = "v${version}"; + sha256 = "0xrjs0py08q9i31rl0cxi6idncrrgqwcspqks3c5vd9i65yqc6fv"; + }; + + meta = with stdenv.lib; { + homepage = "https://www.tegola.io/"; + description = "Mapbox Vector Tile server"; + maintainers = with maintainers; [ ingenieroariel ]; + platforms = platforms.unix; + license = licenses.mit; + }; +} |