mapnik: 3.0.13 -> 3.0.20
This commit is contained in:
parent
8955ec6c73
commit
b1857daa25
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchzip, fetchpatch
|
{ stdenv, fetchzip, fetchpatch
|
||||||
, boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff
|
, boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff
|
||||||
, libwebp, libxml2, proj, python2, scons, sqlite, zlib
|
, libwebp, libxml2, proj, python, scons, sqlite, zlib
|
||||||
|
|
||||||
# supply a postgresql package to enable the PostGIS input plugin
|
# supply a postgresql package to enable the PostGIS input plugin
|
||||||
, postgresql ? null
|
, postgresql ? null
|
||||||
@ -8,28 +8,22 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mapnik-${version}";
|
name = "mapnik-${version}";
|
||||||
version = "3.0.13";
|
version = "3.0.20";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
# this one contains all git submodules and is cheaper than fetchgit
|
# this one contains all git submodules and is cheaper than fetchgit
|
||||||
url = "https://github.com/mapnik/mapnik/releases/download/v${version}/mapnik-v${version}.tar.bz2";
|
url = "https://github.com/mapnik/mapnik/releases/download/v${version}/mapnik-v${version}.tar.bz2";
|
||||||
sha256 = "189wsd6l6awblkiha666l1sdyp7ifmnfsa87y0j37rvym6w4r065";
|
sha256 = "05a2hvvk5s4x3wjvh4spd717vd5ri7h0sql7aarpi9jpc5h6xicc";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [(fetchpatch {
|
|
||||||
name = "icu-59.diff";
|
|
||||||
url = https://github.com/mapnik/mapnik/commit/9e58c890430d.diff;
|
|
||||||
sha256 = "0h546qq8g19gw9s4979hla9vkq5kcwh3q45ryajyjhmlr2z9fi6p";
|
|
||||||
})];
|
|
||||||
|
|
||||||
# a distinct dev output makes python-mapnik fail
|
# a distinct dev output makes python-mapnik fail
|
||||||
outputs = [ "out" ];
|
outputs = [ "out" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ python2 scons ];
|
nativeBuildInputs = [ python scons ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ boost cairo freetype gdal harfbuzz icu libjpeg libpng libtiff
|
[ boost cairo freetype gdal harfbuzz icu libjpeg libpng libtiff
|
||||||
libwebp libxml2 proj python2 sqlite zlib
|
libwebp libxml2 proj python sqlite zlib
|
||||||
|
|
||||||
# optional inputs
|
# optional inputs
|
||||||
postgresql
|
postgresql
|
||||||
|
Loading…
x
Reference in New Issue
Block a user