11 , enableE57 ? lib.meta.availableOn stdenv.hostPlatform libe57format
23 stdenv.mkDerivation rec {
27 src = fetchFromGitHub {
31 sha256 = "sha256-JKwa89c05EfZ/FxOkj8lYmw0o2EgSqafRDIV2mTpZ5E=";
53 ] ++ lib.optionals enableE57 [
58 "-DBUILD_PLUGIN_E57=${if enableE57 then "ON" else "OFF"}"
59 "-DBUILD_PLUGIN_HDF=ON"
60 "-DBUILD_PLUGIN_PGPOINTCLOUD=ON"
61 "-DBUILD_PLUGIN_TILEDB=ON"
63 # Plugins can probably not be made work easily:
64 "-DBUILD_PLUGIN_CPD=OFF"
65 "-DBUILD_PLUGIN_FBX=OFF" # Autodesk FBX SDK is gratis+proprietary; not packaged in nixpkgs
66 "-DBUILD_PLUGIN_GEOWAVE=OFF"
67 "-DBUILD_PLUGIN_I3S=OFF"
68 "-DBUILD_PLUGIN_ICEBRIDGE=OFF"
69 "-DBUILD_PLUGIN_MATLAB=OFF"
70 "-DBUILD_PLUGIN_MBIO=OFF"
71 "-DBUILD_PLUGIN_MRSID=OFF"
72 "-DBUILD_PLUGIN_NITF=OFF"
73 "-DBUILD_PLUGIN_OCI=OFF"
74 "-DBUILD_PLUGIN_RDBLIB=OFF" # Riegl rdblib is proprietary; not packaged in nixpkgs
75 "-DBUILD_PLUGIN_RIVLIB=OFF"
79 description = "PDAL is Point Data Abstraction Library. GDAL for point cloud data";
80 homepage = "https://pdal.io";
81 license = licenses.bsd3;
82 maintainers = teams.geospatial.members;
83 platforms = platforms.all;