default.nix (717B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication rec { 8 pname = "pmtiles"; 9 version = "3.3"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "protomaps"; 14 repo = "PMTiles"; 15 rev = "4bd801305cf264463ff96726a71bec8619c8af2b"; 16 hash = "sha256-VKI09aEdZdGJosDBe9PGQEDdIaDk8xq6EToiUc1XmOQ="; 17 }; 18 19 sourceRoot = "${src.name}/python"; 20 21 build-system = with python3Packages; [ setuptools ]; 22 23 meta = { 24 description = "Library and utilities to write and read PMTiles files - cloud-optimized archives of map tiles"; 25 homepage = "https://github.com/protomaps/PMTiles"; 26 license = lib.licenses.bsd3; 27 maintainers = [ lib.maintainers.sikmir ]; 28 }; 29 }