qgis: use python2

This commit is contained in:
Frederik Rietdijk 2016-11-08 15:17:06 +01:00
parent dd5256993e
commit 88a03eb725

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, gdal, cmake, qt4, flex, bison, proj, geos, xlibsWrapper, sqlite, gsl
, qwt, fcgi, pythonPackages, libspatialindex, libspatialite, qscintilla, postgresql, makeWrapper
, qwt, fcgi, python2Packages, libspatialindex, libspatialite, qscintilla, postgresql, makeWrapper
, qjson, qca2, txt2tags, openssl
, withGrass ? false, grass
}:
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gdal qt4 flex openssl bison proj geos xlibsWrapper sqlite gsl qwt qscintilla
fcgi libspatialindex libspatialite postgresql qjson qca2 txt2tags ] ++
(stdenv.lib.optional withGrass grass) ++
(with pythonPackages; [ numpy psycopg2 requests2 pythonPackages.qscintilla sip ]);
(with python2Packages; [ numpy psycopg2 requests2 python2Packages.qscintilla sip ]);
nativeBuildInputs = [ cmake makeWrapper ];