cloudcompare: Upstream now

This commit is contained in:
Tyson Whitehead
2021-01-28 17:10:44 -05:00
parent c84c57e280
commit 1616afc212
2 changed files with 0 additions and 44 deletions

View File

@@ -4,8 +4,6 @@
#
self: super: pkgs: with pkgs; {
cloudcompare = libsForQt5.callPackage ./cloudcompare.nix { boost = boost15x; };
fastqc = callPackage ./fastqc.nix { };
#firedrake = callPackage ./firedrake { };

View File

@@ -1,42 +0,0 @@
{ stdenv, fetchFromGitHub, cmake
, boost, 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
boost
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;
};
}