default.nix (719B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 sqlite, 6 }: 7 8 python3Packages.buildPythonApplication { 9 pname = "polytiles"; 10 version = "0-unstable-2017-06-09"; 11 12 src = fetchFromGitHub { 13 owner = "Zverik"; 14 repo = "polytiles"; 15 rev = "c0a057594de9041c7b3ac234a3590101e3825f2d"; 16 hash = "sha256-7rsMx8sQgl8cRiUncP3/mPne6ARj3K2FICU+frUeEUs="; 17 }; 18 19 dependencies = with python3Packages; [ 20 psycopg2 21 python-mapnik 22 shapely 23 sqlite 24 ]; 25 26 meta = { 27 description = "A script to render tiles for an area with mapnik"; 28 homepage = "https://github.com/Zverik/polytiles"; 29 license = lib.licenses.wtfpl; 30 maintainers = [ lib.maintainers.sikmir ]; 31 broken = true; # python-mapnik 32 }; 33 }