summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/default.nix')
-rw-r--r--pkgs/development/python-modules/python-mapnik/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-mapnik/default.nix b/pkgs/development/python-modules/python-mapnik/default.nix
index 36c297358e87..b1b0c70d8602 100644
--- a/pkgs/development/python-modules/python-mapnik/default.nix
+++ b/pkgs/development/python-modules/python-mapnik/default.nix
@@ -35,10 +35,16 @@ in buildPythonPackage rec {
export BOOST_PYTHON_LIB="boost_python${pythonVersion}"
export BOOST_THREAD_LIB="boost_thread"
export BOOST_SYSTEM_LIB="boost_system"
+ export PYCAIRO=true
'';
nativeBuildInputs = [
mapnik # for mapnik_config
+ pkgs.pkgconfig
+ ];
+
+ patches = [
+ ./find-pycairo-with-pkg-config.patch
];
buildInputs = [