Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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.

+2 -3
+2 -3
pkgs/development/libraries/libLAS/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, boost, cmake, gdal, libgeotiff, libtiff, LASzip2, fixDarwinDylibNames }: 1 + { lib, stdenv, fetchurl, fetchpatch, boost, cmake, libgeotiff, libtiff, LASzip2, fixDarwinDylibNames }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libLAS"; ··· 28 28 ]; 29 29 30 30 nativeBuildInputs = [ cmake ] ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 31 - buildInputs = [ boost gdal libgeotiff libtiff LASzip2 ]; 31 + buildInputs = [ boost libgeotiff libtiff LASzip2 ]; 32 32 33 33 cmakeFlags = [ 34 - "-DGDAL_CONFIG=${gdal}/bin/gdal-config" 35 34 "-DWITH_LASZIP=ON" 36 35 # libLAS is currently not compatible with LASzip 3, 37 36 # see https://github.com/libLAS/libLAS/issues/144.