treewide: cmake buildInputs to nativeBuildInputs, minor cleanups
This commit is contained in:
@@ -4,13 +4,12 @@ stdenv.mkDerivation rec {
|
||||
name = "libLAS-1.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
|
||||
url = "https://download.osgeo.org/liblas/${name}.tar.bz2";
|
||||
sha256 = "0xjfxb3ydvr2258ji3spzyf81g9caap19ql2pk91wiivqsc4mnws";
|
||||
};
|
||||
|
||||
nativeBuildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
buildInputs = [ boost cmake gdal libgeotiff libtiff LASzip2 ];
|
||||
nativeBuildInputs = [ cmake ] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
buildInputs = [ boost gdal libgeotiff libtiff LASzip2 ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DGDAL_CONFIG=${gdal}/bin/gdal-config"
|
||||
|
||||
Reference in New Issue
Block a user