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:
parent
686c52d897
commit
8ec17dab32
@ -1,13 +1,13 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, perl, perlXMLParser, libXft
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, perl, perlXMLParser, libXft
|
||||||
, libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm2
|
, libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm2
|
||||||
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper, intltool
|
, 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
|
, libvisio, libcdr, libexif, unzip, automake114x, autoconf
|
||||||
, boxMakerPlugin ? false # boxmaker plugin
|
, boxMakerPlugin ? false # boxmaker plugin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
pythonEnv = python.withPackages(ps: with ps; [ pyxml numpy lxml ]);
|
python2Env = python2.withPackages(ps: with ps; [ numpy lxml ]);
|
||||||
|
|
||||||
boxmaker = fetchurl {
|
boxmaker = fetchurl {
|
||||||
# http://www.inkscapeforum.com/viewtopic.php?f=11&t=10403
|
# 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
|
# Python is used at run-time to execute scripts, e.g., those from
|
||||||
# the "Effects" menu.
|
# the "Effects" menu.
|
||||||
propagatedBuildInputs = [ pythonEnv ];
|
propagatedBuildInputs = [ python2Env ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig perl perlXMLParser libXft libpng zlib popt boehmgc
|
pkgconfig perl perlXMLParser libXft libpng zlib popt boehmgc
|
||||||
|
Loading…
Reference in New Issue
Block a user