cloudcompare: Initial packaging
This commit is contained in:
@@ -9,6 +9,8 @@ self: super: pkgs: with pkgs; {
|
||||
boost = boost162;
|
||||
};
|
||||
|
||||
cloudcompare = libsForQt5.callPackage ./cloudcompare.nix { };
|
||||
|
||||
cryptominisat = callPackage ./cryptominisat.nix { };
|
||||
|
||||
#firedrake = callPackage ./firedrake { };
|
||||
|
||||
42
pkgs/cloudcompare.nix
Normal file
42
pkgs/cloudcompare.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user