@@ -1,6 +1,6 @@
1{ stdenv, fetchurl, flex, bison, pkgconfig, zlib, libtiff, libpng, fftw
1{ stdenv, fetchurl, flex, bison, pkgconfig, zlib, libtiff, libpng, fftw
2, cairo, readline, ffmpeg, makeWrapper, wxGTK30, netcdf, blas
2, cairo, readline, ffmpeg, makeWrapper, wxGTK30, netcdf, blas
3−, proj, gdal, geos, sqlite, postgresql, mysql, python2Packages
3+, proj, gdal, geos, sqlite, postgresql, mysql, python2Packages, libLAS
6stdenv.mkDerivation {
6stdenv.mkDerivation {
@@ -12,7 +12,8 @@ stdenv.mkDerivation {
13 nativeBuildInputs = [ pkgconfig ];
13 nativeBuildInputs = [ pkgconfig ];
14 buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo
14 buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo
15− readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.connector-c blas ]
15+ readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.connector-c blas
16 ++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
17 ++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
18 # On Darwin the installer tries to symlink the help files into a system
19 # On Darwin the installer tries to symlink the help files into a system
@@ -33,6 +34,7 @@ stdenv.mkDerivation {
33 "--with-mysql-includes=${mysql.connector-c}/include/mysql"
34 "--with-mysql-includes=${mysql.connector-c}/include/mysql"
34 "--with-mysql-libs=${mysql.connector-c}/lib/mysql"
35 "--with-mysql-libs=${mysql.connector-c}/lib/mysql"
35 "--with-blas"
36 "--with-blas"
37+ "--with-liblas=${libLAS}/bin/liblas-config"
38 # Otherwise a very confusing "Can't load GDAL library" error
40 # Otherwise a very confusing "Can't load GDAL library" error