11 , enableE57 ? lib.meta.availableOn stdenv.hostPlatform libe57format
22 stdenv.mkDerivation rec {
26 src = fetchFromGitHub {
30 sha256 = "sha256-w9Fu4Op6OdaxdvOUM+glpJUEZq//EwRD2lqzYrMXk8w=";
51 ] ++ lib.optionals enableE57 [
56 "-DBUILD_PLUGIN_E57=${if enableE57 then "ON" else "OFF"}"
57 "-DBUILD_PLUGIN_HDF=ON"
58 "-DBUILD_PLUGIN_PGPOINTCLOUD=ON"
59 "-DBUILD_PLUGIN_TILEDB=ON"
61 # Plugins can probably not be made work easily:
62 "-DBUILD_PLUGIN_CPD=OFF"
63 "-DBUILD_PLUGIN_FBX=OFF" # Autodesk FBX SDK is gratis+proprietary; not packaged in nixpkgs
64 "-DBUILD_PLUGIN_GEOWAVE=OFF"
65 "-DBUILD_PLUGIN_I3S=OFF"
66 "-DBUILD_PLUGIN_ICEBRIDGE=OFF"
67 "-DBUILD_PLUGIN_MATLAB=OFF"
68 "-DBUILD_PLUGIN_MBIO=OFF"
69 "-DBUILD_PLUGIN_MRSID=OFF"
70 "-DBUILD_PLUGIN_NITF=OFF"
71 "-DBUILD_PLUGIN_OCI=OFF"
72 "-DBUILD_PLUGIN_RDBLIB=OFF" # Riegl rdblib is proprietary; not packaged in nixpkgs
73 "-DBUILD_PLUGIN_RIVLIB=OFF"
77 description = "PDAL is Point Data Abstraction Library. GDAL for point cloud data";
78 homepage = "https://pdal.io";
79 license = licenses.bsd3;
80 maintainers = with maintainers; [ nh2 ];
81 platforms = platforms.all;