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