mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
libLAS: remove never-used and broken GDAL support
GDAL support was never compiled in because "WITH_GDAL=ON" was never defined in cmakeFlags. Defining that breaks compilation because libLAS is thorougly incompatible with modern GDAL. Remove GDAL as an input entirely to shrink dependency graph and tidy up.
This commit is contained in:
parent
019abf2a7d
commit
175331f0f3
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch, boost, cmake, gdal, libgeotiff, libtiff, LASzip2, fixDarwinDylibNames }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, boost, cmake, libgeotiff, libtiff, LASzip2, fixDarwinDylibNames }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libLAS";
|
||||
@ -28,10 +28,9 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ] ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
buildInputs = [ boost gdal libgeotiff libtiff LASzip2 ];
|
||||
buildInputs = [ boost libgeotiff libtiff LASzip2 ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DGDAL_CONFIG=${gdal}/bin/gdal-config"
|
||||
"-DWITH_LASZIP=ON"
|
||||
# libLAS is currently not compatible with LASzip 3,
|
||||
# see https://github.com/libLAS/libLAS/issues/144.
|
||||
|
Loading…
Reference in New Issue
Block a user