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