Merge pull request #169997 from armeenm/mapserver-python3

mapserver: switch to python3

authored by Artturi and committed by GitHub c8a723fb bb56c832

+3 -3
+3 -3
pkgs/servers/mapserver/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config 2 , cairo, curl, fcgi, freetype, fribidi, gdal, geos, giflib, harfbuzz 3 , libjpeg, libpng, librsvg, libxml2, postgresql, proj, protobufc, zlib 4 - , withPython ? true, swig, python2 5 }: 6 7 stdenv.mkDerivation rec { ··· 18 nativeBuildInputs = [ 19 cmake 20 pkg-config 21 - ] ++ lib.optional withPython swig; 22 23 buildInputs = [ 24 cairo ··· 38 proj 39 protobufc 40 zlib 41 - ] ++ lib.optional withPython python2; 42 43 cmakeFlags = [ 44 "-DWITH_KML=ON"
··· 1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config 2 , cairo, curl, fcgi, freetype, fribidi, gdal, geos, giflib, harfbuzz 3 , libjpeg, libpng, librsvg, libxml2, postgresql, proj, protobufc, zlib 4 + , withPython ? true, swig, python3 5 }: 6 7 stdenv.mkDerivation rec { ··· 18 nativeBuildInputs = [ 19 cmake 20 pkg-config 21 + ] ++ lib.optional withPython [ swig python3.pkgs.setuptools ]; 22 23 buildInputs = [ 24 cairo ··· 38 proj 39 protobufc 40 zlib 41 + ] ++ lib.optional withPython python3; 42 43 cmakeFlags = [ 44 "-DWITH_KML=ON"