inkscape: use python2

because of syntax error. And don't depend on pyxml
because that shouldn't be necessary anymore
https://bugs.archlinux.org/task/26774
This commit is contained in:
Frederik Rietdijk 2016-10-18 18:26:54 +02:00
parent 686c52d897
commit 8ec17dab32

View File

@ -1,13 +1,13 @@
{ stdenv, fetchurl, fetchpatch, pkgconfig, perl, perlXMLParser, libXft
, libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm2
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper, intltool
, gsl, python, poppler, imagemagick, libwpg, librevenge
, gsl, python2, poppler, imagemagick, libwpg, librevenge
, libvisio, libcdr, libexif, unzip, automake114x, autoconf
, boxMakerPlugin ? false # boxmaker plugin
}:
let
pythonEnv = python.withPackages(ps: with ps; [ pyxml numpy lxml ]);
python2Env = python2.withPackages(ps: with ps; [ numpy lxml ]);
boxmaker = fetchurl {
# http://www.inkscapeforum.com/viewtopic.php?f=11&t=10403
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
# Python is used at run-time to execute scripts, e.g., those from
# the "Effects" menu.
propagatedBuildInputs = [ pythonEnv ];
propagatedBuildInputs = [ python2Env ];
buildInputs = [
pkgconfig perl perlXMLParser libXft libpng zlib popt boehmgc