22 buildPythonPackage rec {
23 pname = "python-mapnik";
24 version = "unstable-2020-02-24";
26 src = fetchFromGitHub {
28 repo = "python-mapnik";
29 rev = "7da019cf9eb12af8f8aa88b7d75789dfcd1e901b";
30 sha256 = "0snn7q7w1ab90311q8wgd1z64kw1svm5w831q0xd6glqhah86qc8";
34 doCheck = false; # doesn't find needed test data files
36 export BOOST_PYTHON_LIB="boost_python${"${lib.versions.major python.version}${lib.versions.minor python.version}"}"
37 export BOOST_THREAD_LIB="boost_thread"
38 export BOOST_SYSTEM_LIB="boost_system"
43 mapnik # for mapnik_config
48 ./find-pycairo-with-pkg-config.patch
65 propagatedBuildInputs = [ pillow pycairo ];
67 pythonImportsCheck = [ "mapnik" ];
70 description = "Python bindings for Mapnik";
71 maintainers = with maintainers; [ erictapen ];
72 homepage = "https://mapnik.org";
73 license = licenses.lgpl21;