3
0
Fork 0
forked from mirrors/nixpkgs

grass: compile with libLAS

This commit is contained in:
Jason Hilton 2017-09-07 09:20:55 -07:00 committed by Matthew Pickering
parent 406e20b832
commit 577bbdc501

View file

@ -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