imposm: init at 0.12.0
This commit is contained in:
parent
11335dd492
commit
60c34eeaeb
1 changed files with 34 additions and 0 deletions
34
pkgs/by-name/im/imposm/package.nix
Normal file
34
pkgs/by-name/im/imposm/package.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, leveldb, geos }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "imposm";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "omniscale";
|
||||
repo = "imposm3";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-xX4cV/iU7u/g9n7dtkkkCtNOPZK5oyprNHGDUuW+ees=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
buildInputs = [ leveldb geos ];
|
||||
|
||||
ldflags = [
|
||||
"-s -w"
|
||||
"-X github.com/omniscale/imposm3.Version=${version}"
|
||||
];
|
||||
|
||||
# requires network access
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Imposm imports OpenStreetMap data into PostGIS";
|
||||
homepage = "https://imposm.org/";
|
||||
changelog = "https://github.com/omniscale/imposm3/releases/tag/${src.rev}";
|
||||
license = licenses.apsl20;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
mainProgram = "imposm";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue