aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/graphics/inkscape
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-10-18 18:26:54 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-10-18 23:16:09 +0200
commit8ec17dab32bb4dc0bd966380f162a4b0a6c0630f (patch)
tree8a38ea7e13e1edd422dc525f7590c490e42d73e1 /pkgs/applications/graphics/inkscape
parent686c52d89724a062d7bf2b03ad71d1464adc4339 (diff)
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
Diffstat (limited to 'pkgs/applications/graphics/inkscape')
-rw-r--r--pkgs/applications/graphics/inkscape/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix
index ce8a22fd90f..06b2fa63c7f 100644
--- a/pkgs/applications/graphics/inkscape/default.nix
+++ b/pkgs/applications/graphics/inkscape/default.nix
@@ -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