@@ -1,18 +1,20 @@
1−{ stdenv, fetchurl
1+{ stdenv, fetchzip
2, boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff
2, boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff
3, libwebp, libxml2, proj, python, scons, sqlite, zlib
3, libwebp, libxml2, proj, python, scons, sqlite, zlib
6stdenv.mkDerivation rec {
6stdenv.mkDerivation rec {
7 name = "mapnik-${version}";
7 name = "mapnik-${version}";
8− version = "3.0.10";
8+ version = "3.0.12";
10− src = fetchurl {
10+ src = fetchzip {
11+ # this one contains all git submodules and is cheaper than fetchgit
11− url = "https://mapnik.s3.amazonaws.com/dist/v${version}/mapnik-v${version}.tar.bz2";
12+ url = "https://github.com/mapnik/mapnik/releases/download/v${version}/mapnik-v${version}.tar.bz2";
12− sha256 = "0fda6syrfb81930sf7rgw1qmpnik8k1ngrjkh43ywd3s37nbqh1n";
13+ sha256 = "02w360fxk0pfkk0zbwc134jq7rkkib58scs5k67j8np6fx6gag6i";
16+ # a distinct dev output makes python-mapnik fail
15− outputs = [ "out" "dev" ];
17+ outputs = [ "out" ];
17 nativeBuildInputs = [ python scons ];
19 nativeBuildInputs = [ python scons ];