From 5a60fcf9e89ba962773bfb723fb682a4a4ab8846 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sun, 11 Oct 2020 14:12:04 +0300 Subject: [PATCH] pg_featureserv: init at 1.1.1 --- pkgs/servers/pg_featureserv/default.nix | 23 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/servers/pg_featureserv/default.nix diff --git a/pkgs/servers/pg_featureserv/default.nix b/pkgs/servers/pg_featureserv/default.nix new file mode 100644 index 000000000000..a50c1d593008 --- /dev/null +++ b/pkgs/servers/pg_featureserv/default.nix @@ -0,0 +1,23 @@ +{ lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "pg_featureserv"; + version = "1.1.1"; + + src = fetchFromGitHub { + owner = "CrunchyData"; + repo = pname; + rev = "v${version}"; + sha256 = "0vfrwncx41yn9n2hqb32av3xgd13fqplrs1qzg5mv25i4qppd88l"; + }; + + vendorSha256 = "1jqrkx850ghmpnfjhqky93r8fq7q63m5ivs0lzljzbvn7ya75f2r"; + + meta = with lib; { + description = "Lightweight RESTful Geospatial Feature Server for PostGIS in Go"; + homepage = "https://github.com/CrunchyData/pg_featureserv"; + 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 5e0130cc1c1b..2be106732fa3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16987,6 +16987,8 @@ in tomcat-native = callPackage ../servers/http/tomcat/tomcat-native.nix { }; + pg_featureserv = callPackage ../servers/pg_featureserv { }; + pg_tileserv = callPackage ../servers/pg_tileserv { }; pies = callPackage ../servers/pies { };