forked from mirrors/nixpkgs
grass: compile with libLAS
This commit is contained in:
parent
406e20b832
commit
577bbdc501
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchurl, flex, bison, pkgconfig, zlib, libtiff, libpng, fftw
|
||||
, cairo, readline, ffmpeg, makeWrapper, wxGTK30, netcdf, blas
|
||||
, proj, gdal, geos, sqlite, postgresql, mysql, python2Packages
|
||||
, proj, gdal, geos, sqlite, postgresql, mysql, python2Packages, libLAS
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -12,7 +12,8 @@ stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo
|
||||
readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.connector-c blas ]
|
||||
readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.connector-c blas
|
||||
libLAS ]
|
||||
++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
|
||||
|
||||
# On Darwin the installer tries to symlink the help files into a system
|
||||
|
@ -33,6 +34,7 @@ stdenv.mkDerivation {
|
|||
"--with-mysql-includes=${mysql.connector-c}/include/mysql"
|
||||
"--with-mysql-libs=${mysql.connector-c}/lib/mysql"
|
||||
"--with-blas"
|
||||
"--with-liblas=${libLAS}/bin/liblas-config"
|
||||
];
|
||||
|
||||
# Otherwise a very confusing "Can't load GDAL library" error
|
||||
|
|
Loading…
Reference in a new issue