Loading pkgs/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,8 @@ self: super: pkgs: with pkgs; { boost = boost162; }; cloudcompare = libsForQt5.callPackage ./cloudcompare.nix { }; cryptominisat = callPackage ./cryptominisat.nix { }; #firedrake = callPackage ./firedrake { }; Loading pkgs/cloudcompare.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { stdenv, fetchFromGitHub, cmake , boost15x, eigen, dxflib, gdal, flann, libLAS, LASzip , qtbase }: stdenv.mkDerivation rec { version = "2.9.1"; name = "CloudCompare-${version}"; src = fetchFromGitHub { owner = "CloudCompare"; repo = "CloudCompare"; rev = "v${version}"; sha256 = "1qlylr7l8bnji3v4imj2rssy23gqhxrrig950if5myh6yjk63prs"; }; buildInputs = [ cmake boost15x eigen dxflib gdal flann libLAS LASzip qtbase ]; cmakeFlags = [ "-DOPTION_USE_DXF_LIB=ON" "-DOPTION_USE_GDAL=ON" "-DOPTION_USE_LIBLAS=ON" "-DLIBLAS_INCLUDE_DIR=${libLAS}/include/liblas" "-DLIBLAS_RELEASE_LIBRARY_FILE=${libLAS}/lib/liblas.so" "-DOPTION_USE_SHAPE_LIB=ON" ]; meta = with stdenv.lib; { description = "3D point cloud and mesh processing software"; homepage = https://www.danielgm.net/cc; license = licenses.gpl2Plus; }; } Loading
pkgs/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,8 @@ self: super: pkgs: with pkgs; { boost = boost162; }; cloudcompare = libsForQt5.callPackage ./cloudcompare.nix { }; cryptominisat = callPackage ./cryptominisat.nix { }; #firedrake = callPackage ./firedrake { }; Loading
pkgs/cloudcompare.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { stdenv, fetchFromGitHub, cmake , boost15x, eigen, dxflib, gdal, flann, libLAS, LASzip , qtbase }: stdenv.mkDerivation rec { version = "2.9.1"; name = "CloudCompare-${version}"; src = fetchFromGitHub { owner = "CloudCompare"; repo = "CloudCompare"; rev = "v${version}"; sha256 = "1qlylr7l8bnji3v4imj2rssy23gqhxrrig950if5myh6yjk63prs"; }; buildInputs = [ cmake boost15x eigen dxflib gdal flann libLAS LASzip qtbase ]; cmakeFlags = [ "-DOPTION_USE_DXF_LIB=ON" "-DOPTION_USE_GDAL=ON" "-DOPTION_USE_LIBLAS=ON" "-DLIBLAS_INCLUDE_DIR=${libLAS}/include/liblas" "-DLIBLAS_RELEASE_LIBRARY_FILE=${libLAS}/lib/liblas.so" "-DOPTION_USE_SHAPE_LIB=ON" ]; meta = with stdenv.lib; { description = "3D point cloud and mesh processing software"; homepage = https://www.danielgm.net/cc; license = licenses.gpl2Plus; }; }