anchor.diff:        --replace '"python-interpreter", "python"' '"python-interpreter", "${python2Env}/bin/python"'
     '';
   
  -  nativeBuildInputs = [ pkgconfig autoreconfHook intltool ];
  +  nativeBuildInputs = [ pkgconfig ];
     buildInputs = [
       perl perlXMLParser libXft libpng zlib popt boehmgc
       libxml2 libxslt glib gtkmm2 glibmm libsigcxx lcms boost gettext
       makeWrapper gsl poppler imagemagick libwpg librevenge
  -    libvisio libcdr libexif potrace python2Env
  +    libvisio libcdr libexif potrace cmake python2Env
     ];
   
     enableParallelBuilding = true;
   
  -  preConfigure = ''
  -    intltoolize -f
  -  '';
  -
     postInstall = ''
       # Make sure PyXML modules can be found at run-time.
       rm "$out/share/icons/hicolor/icon-theme.cache"
  +  '' + stdenv.lib.optionalString stdenv.isDarwin ''
  +    install_name_tool -change $out/lib/libinkscape_base.dylib $out/lib/inkscape/libinkscape_base.dylib $out/bin/inkscape
  +    install_name_tool -change $out/lib/libinkscape_base.dylib $out/lib/inkscape/libinkscape_base.dylib $out/bin/inkview
     '';
   
     # 0.92.3 complains about an invalid conversion from const char * to char *
     NIX_CFLAGS_COMPILE = " -fpermissive ";
   
  -  meta = with lib; {
  +  meta = with stdenv.lib; {
       license = "GPL";
       homepage = https://www.inkscape.org;
       description = "Vector graphics editor";
  
positive.code:     sha256 = "1chng2yw8dsjxc9gf92aqv7plj11cav8ax321wmakmv5bb09cch6";
    };
  
    postPatch = ''
      patchShebangs share/extensions
      patchShebangs fix-roff-punct
  
negative.code: 
        If you want to import .eps files install ps2edit.
      '';
    };
  }
  