1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/servers/pg_featureserv/default.nix

26 lines
755 B
Nix
Raw Normal View History

2020-10-11 12:12:04 +01:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "pg_featureserv";
2020-12-04 19:48:45 +00:00
version = "1.2.0";
2020-10-11 12:12:04 +01:00
src = fetchFromGitHub {
owner = "CrunchyData";
repo = pname;
rev = "v${version}";
2020-12-04 19:48:45 +00:00
sha256 = "0lfsbsgcb7z8ljxn1by37rbx02vaprrpacybk1kja1rjli7ik7m9";
2020-10-11 12:12:04 +01:00
};
vendorSha256 = "1jqrkx850ghmpnfjhqky93r8fq7q63m5ivs0lzljzbvn7ya75f2r";
2020-12-04 19:48:45 +00:00
buildFlagsArray = [ "-ldflags=-s -w -X github.com/CrunchyData/pg_featureserv/conf.setVersion=${version}" ];
2020-10-11 12:12:04 +01:00
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;
};
}