default.nix (820B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication rec { 8 pname = "tilelog"; 9 version = "1.7.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "openstreetmap"; 14 repo = "tilelog"; 15 tag = "v${version}"; 16 hash = "sha256-tSBawN8u3mw6sSVFUMT+qfjbhwPF+x3sYXpO18YUjpw="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 nativeBuildInputs = with python3Packages; [ flake8 ]; 22 23 dependencies = with python3Packages; [ 24 click 25 publicsuffixlist 26 pyathena 27 pyarrow 28 ]; 29 30 doCheck = false; 31 32 meta = { 33 description = "Tilelog is used to generate tile logs for the OSMF Standard map layer"; 34 homepage = "https://github.com/openstreetmap/tilelog"; 35 license = lib.licenses.gpl3Plus; 36 maintainers = [ lib.maintainers.sikmir ]; 37 }; 38 }