mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
perlPackages.Tirex: Support for Mapnik v4.0.0
This commit is contained in:
parent
1df6c54e74
commit
98be6d2af8
|
@ -7,6 +7,7 @@
|
|||
, JSON
|
||||
, LWP
|
||||
, mapnik
|
||||
, boost
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
|
@ -22,11 +23,18 @@ buildPerlPackage rec {
|
|||
};
|
||||
|
||||
patches = [
|
||||
# Support Mapnik >= v4.0.0 (`mapnik/box2d.hpp` -> `mapnik/geometry/box2d.hpp`)
|
||||
# https://github.com/openstreetmap/tirex/pull/54
|
||||
(fetchpatch {
|
||||
url = "https://github.com/openstreetmap/tirex/commit/da0c5db926bc0939c53dd902a969b689ccf9edde.patch";
|
||||
url = "https://github.com/openstreetmap/tirex/commit/5f131231c9c12e88793afba471b150ca8af8d587.patch";
|
||||
hash = "sha256-bnL1ZGy8ZNSZuCRbZn59qRVLg3TL0GjFYnhRKroeVO0=";
|
||||
})
|
||||
# Support Mapnik >= v4.0.0 (boost:filesystem no longer indirectly linked)
|
||||
# https://github.com/openstreetmap/tirex/pull/59
|
||||
(fetchpatch {
|
||||
url = "https://github.com/openstreetmap/tirex/commit/137903be9b7b35dde4c7010e65faa16bcf6ad476.patch";
|
||||
hash = "sha256-JDqwWVnzExPwLpzv4LbSmGYah956uko+Zdicahua9oQ=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -35,6 +43,7 @@ buildPerlPackage rec {
|
|||
JSON
|
||||
LWP
|
||||
mapnik
|
||||
boost
|
||||
] ++ mapnik.buildInputs;
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue