nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit d3788625d20832b508530c5ff3adbb6113c0e35b
parent 9e9a253573b8f4f85e1e61626cc0667e1c2941ae
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Thu, 26 Aug 2021 00:10:50 +0300

Add tilemaker

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/osm/tilemaker/default.nix | 26++++++++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -288,6 +288,7 @@ lib.makeScope newScope ( sdlmap = callPackage ./osm/sdlmap { }; smrender = callPackage ./osm/smrender { }; taginfo-tools = callPackage ./osm/taginfo-tools { }; + tilemaker = callPackage ./osm/tilemaker { }; ### RADIO diff --git a/pkgs/osm/tilemaker/default.nix b/pkgs/osm/tilemaker/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchFromGitHub, cmake +, boost, lua, protobuf, shapelib, sqlite, zlib }: + +stdenv.mkDerivation rec { + pname = "tilemaker"; + version = "2.0.0"; + + src = fetchFromGitHub { + owner = "systemed"; + repo = pname; + rev = "v${version}"; + hash = "sha256-RfWf5e7yyfoJO3S8u6DwpB5xYl4PGnlhk+E1l+ewNN8="; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ boost lua protobuf shapelib sqlite zlib ]; + + meta = with lib; { + description = "Make OpenStreetMap vector tiles without the stack"; + inherit (src.meta) homepage; + license = licenses.free; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}