nixpkgs/pkgs/servers/pg_featureserv/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
742 B
Nix
Raw Normal View History

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