From f246be40afae5d374264506a6c4f0cd7359e911a Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sun, 11 Oct 2020 13:11:24 +0300 Subject: [PATCH] pg_tileserv: init at 1.0.3 --- pkgs/servers/pg_tileserv/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/servers/pg_tileserv/default.nix diff --git a/pkgs/servers/pg_tileserv/default.nix b/pkgs/servers/pg_tileserv/default.nix new file mode 100644 index 000000000000..14f8b7938560 --- /dev/null +++ b/pkgs/servers/pg_tileserv/default.nix @@ -0,0 +1,25 @@ +{ lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "pg_tileserv"; + version = "1.0.3"; + + src = fetchFromGitHub { + owner = "CrunchyData"; + repo = pname; + rev = "v${version}"; + sha256 = "19ycpir662dv6jg3fnlj3208cjhy0lxww3wc3h19x96556yklnfg"; + }; + + vendorSha256 = "1wpzj6par25z7cyyz6p41cxdll4nzb0jjdl1pffgawiy9z7j17vb"; + + doCheck = false; + + meta = with lib; { + description = "A very thin PostGIS-only tile server in Go"; + homepage = "https://github.com/CrunchyData/pg_tileserv"; + license = licenses.asl20; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9a514492d063..69faafa7af4e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16825,6 +16825,8 @@ in tomcat-native = callPackage ../servers/http/tomcat/tomcat-native.nix { }; + pg_tileserv = callPackage ../servers/pg_tileserv { }; + pies = callPackage ../servers/pies { }; rpcbind = callPackage ../servers/rpcbind { };