Skip to content

Commit 1ce3f86

Browse files
authored
mapnik: 4.0.5 -> 4.0.7 (NixOS#394681)
2 parents 03a0bee + 6ec1bf6 commit 1ce3f86

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

pkgs/development/libraries/mapnik/default.nix

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@
2929

3030
stdenv.mkDerivation rec {
3131
pname = "mapnik";
32-
version = "4.0.5";
32+
version = "4.0.7";
3333

3434
src = fetchFromGitHub {
3535
owner = "mapnik";
3636
repo = "mapnik";
3737
rev = "v${version}";
38-
hash = "sha256-pReoyMdu8RYrberKcwGw0DKmkxVRJezZYcPAM/UAn6o=";
38+
hash = "sha256-gJktRWcJiSGxxjvWFt+Kl9d7g+TOSPk2PfGP0LIVxt4=";
3939
fetchSubmodules = true;
4040
};
4141

4242
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
4343

4444
postPatch = ''
4545
substituteInPlace configure \
46-
--replace '$PYTHON scons/scons.py' ${buildPackages.scons}/bin/scons
46+
--replace-fail '$PYTHON scons/scons.py' ${buildPackages.scons}/bin/scons
4747
rm -r scons
4848
# Remove bundled 'sparsehash' directory in favor of 'sparsehash' package
4949
rm -r deps/mapnik/sparsehash
@@ -134,15 +134,5 @@ stdenv.mkDerivation rec {
134134
];
135135
license = licenses.lgpl21Plus;
136136
platforms = platforms.all;
137-
138-
# 29-03-2025: On darwin, the libc++ standard library is used to compile C++ programs.
139-
# 29-03-2025: Since the base template for `std::char_traits` was removed in LLVM 19,
140-
# 29-03-2025: usages of `boost::u32regex` will no longer compile.
141-
# 29-03-2025: Linux builds do not fail as they use libstdc++, which has not removed
142-
# 29-03-2025: such `std::char_trait` declarations.
143-
#
144-
# 29-03-2025: See https://github.com/mapnik/mapnik/issues/4499 for more information
145-
# 29-03-2025: and a Minimal Reproducible Example.
146-
badPlatforms = platforms.darwin;
147137
};
148138
}

pkgs/development/python-modules/python-mapnik/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,14 @@ buildPythonPackage rec {
114114
"test_pdf_printing"
115115
"test_render_with_scale_factor"
116116
"test_raster_warping"
117+
"test_pycairo_svg_surface1"
117118
]
118119
++ lib.optionals stdenv.hostPlatform.isDarwin [
119120
"test_passing_pycairo_context_png"
120121
"test_passing_pycairo_context_svg"
121122
"test_pycairo_pdf_surface1"
122123
"test_pycairo_pdf_surface2"
123124
"test_pycairo_pdf_surface3"
124-
"test_pycairo_svg_surface1"
125125
"test_pycairo_svg_surface2"
126126
"test_pycairo_svg_surface3"
127127
];

0 commit comments

Comments
 (0)