commit bf8673980894ab5c3fa57faf57d6caf179d4fc65 parent e15ed963a2440b0906de7cc0bfd835fe00e1dc80 Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Sun, 14 May 2023 22:15:14 +0400 Add tilelog Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/osm/tilelog/default.nix | | | 22 | ++++++++++++++++++++++ |
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -452,6 +452,7 @@ lib.makeScope newScope ( inherit (darwin.apple_sdk.frameworks) Foundation; }; taginfo-tools = callPackage ./osm/taginfo-tools { }; + tilelog = callPackage ./osm/tilelog { }; tirex = callPackage ./osm/tirex { }; vectiler = callPackage ./osm/vectiler { }; diff --git a/pkgs/osm/tilelog/default.nix b/pkgs/osm/tilelog/default.nix @@ -0,0 +1,22 @@ +{ lib, fetchFromGitHub, python3Packages }: + +python3Packages.buildPythonApplication rec { + pname = "tilelog"; + version = "1.5.0"; + + src = fetchFromGitHub { + owner = "openstreetmap"; + repo = "tilelog"; + rev = "v${version}"; + hash = "sha256-4B1RkuvLTFmoQtSTLIZZq1ytrmQ37wT0HQarYmIumKg="; + }; + + propagatedBuildInputs = with python3Packages; [ click publicsuffixlist pyathena pyarrow ]; + + meta = with lib; { + description = "Tilelog is used to generate tile logs for the OSMF Standard map layer"; + inherit (src.meta) homepage; + license = licenses.gpl3Plus; + maintainers = [ maintainers.sikmir ]; + }; +}