mapnik: init at 3.0.9

+63
+40
pkgs/development/libraries/mapnik/default.nix
··· 1 + { stdenv, fetchurl 2 + , boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff 3 + , libwebp, libxml2, proj, python, scons, sqlite, zlib 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + name = "mapnik-${version}"; 8 + version = "3.0.9"; 9 + 10 + src = fetchurl { 11 + url = "https://mapnik.s3.amazonaws.com/dist/v${version}/mapnik-v${version}.tar.bz2"; 12 + sha256 = "1nnkamwq4vcg4q2lbqn7cn8sannxszzjxcxsllksby055d9nfgrs"; 13 + }; 14 + 15 + nativeBuildInputs = [ python scons ]; 16 + 17 + buildInputs = 18 + [ boost cairo freetype gdal harfbuzz icu libjpeg libpng libtiff 19 + libwebp libxml2 proj python sqlite zlib 20 + ]; 21 + 22 + configurePhase = '' 23 + scons configure PREFIX="$out" 24 + ''; 25 + 26 + buildPhase = false; 27 + 28 + installPhase = '' 29 + mkdir -p "$out" 30 + scons install 31 + ''; 32 + 33 + meta = with stdenv.lib; { 34 + description = "An open source toolkit for developing mapping applications"; 35 + homepage = http://mapnik.org; 36 + maintainers = with maintainers; [ hrdinka ]; 37 + license = licenses.lgpl21; 38 + platforms = platforms.all; 39 + }; 40 + }
+2
pkgs/top-level/all-packages.nix
··· 7711 7711 7712 7712 lzo = callPackage ../development/libraries/lzo { }; 7713 7713 7714 + mapnik = callPackage ../development/libraries/mapnik { }; 7715 + 7714 7716 matio = callPackage ../development/libraries/matio { }; 7715 7717 7716 7718 mbedtls = callPackage ../development/libraries/mbedtls { };
+21
pkgs/top-level/python-packages.nix
··· 5075 5075 }; 5076 5076 }; 5077 5077 5078 + python-mapnik = buildPythonPackage { 5079 + name = "python-mapnik-fae6388"; 5080 + 5081 + src = pkgs.fetchgit { 5082 + url = https://github.com/mapnik/python-mapnik.git; 5083 + rev = "fae63881ed0945829e73f711d52740240b740936"; 5084 + sha256 = "13i9zsy0dk9pa947vfq26a3nrn1ddknqliyb0ljcmi5w5x0z758k"; 5085 + }; 5086 + 5087 + disabled = isPyPy; 5088 + doCheck = false; # doesn't find needed test data files 5089 + buildInputs = with pkgs; [ boost harfbuzz icu mapnik ]; 5090 + propagatedBuildInputs = with self; [ pillow pycairo ]; 5091 + 5092 + meta = with stdenv.lib; { 5093 + description = "Python bindings for Mapnik"; 5094 + homepage = http://mapnik.org; 5095 + license = licenses.lgpl21; 5096 + }; 5097 + }; 5098 + 5078 5099 mwlib = buildPythonPackage rec { 5079 5100 version = "0.15.15"; 5080 5101 name = "mwlib-${version}";