python.pkgs.python-mapnik: fix build
fallout of https://github.com/NixOS/nixpkgs/pull/54182
This commit is contained in:
parent
76bfc09ff3
commit
8519983a31
@ -8,7 +8,16 @@
|
|||||||
, pycairo
|
, pycairo
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
let
|
||||||
|
boost = pkgs.boost.override {
|
||||||
|
enablePython = true;
|
||||||
|
inherit python;
|
||||||
|
};
|
||||||
|
mapnik = pkgs.mapnik.override {
|
||||||
|
inherit python boost;
|
||||||
|
};
|
||||||
|
|
||||||
|
in buildPythonPackage rec {
|
||||||
pname = "python-mapnik";
|
pname = "python-mapnik";
|
||||||
version = "3.0.16";
|
version = "3.0.16";
|
||||||
|
|
||||||
@ -28,25 +37,25 @@ buildPythonPackage rec {
|
|||||||
export BOOST_THREAD_LIB="boost_thread"
|
export BOOST_THREAD_LIB="boost_thread"
|
||||||
export BOOST_SYSTEM_LIB="boost_system"
|
export BOOST_SYSTEM_LIB="boost_system"
|
||||||
'';
|
'';
|
||||||
buildInputs = with pkgs; [
|
|
||||||
(boost.override {
|
nativeBuildInputs = [
|
||||||
enablePython = true;
|
mapnik # for mapnik_config
|
||||||
inherit python;
|
];
|
||||||
})
|
|
||||||
(mapnik.override {
|
buildInputs = [
|
||||||
inherit python;
|
mapnik
|
||||||
boost = (boost.override { enablePython = true; inherit python; });
|
boost
|
||||||
})
|
] ++ (with pkgs; [
|
||||||
cairo
|
cairo
|
||||||
harfbuzz
|
harfbuzz
|
||||||
icu
|
icu
|
||||||
libjpeg
|
libjpeg
|
||||||
libpng
|
libpng
|
||||||
libtiff
|
libtiff
|
||||||
libwebp
|
libwebp
|
||||||
proj
|
proj
|
||||||
zlib
|
zlib
|
||||||
];
|
]);
|
||||||
propagatedBuildInputs = [ pillow pycairo ];
|
propagatedBuildInputs = [ pillow pycairo ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user