package.nix (796B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 geoflow, 7 LAStools, 8 nlohmann_json, 9 }: 10 11 stdenv.mkDerivation (finalAttrs: { 12 pname = "gfp-las"; 13 version = "0.3.1"; 14 15 src = fetchFromGitHub { 16 owner = "geoflow3d"; 17 repo = "gfp-las"; 18 tag = "v${finalAttrs.version}"; 19 hash = "sha256-05seXLQm2TAFLRSN2Fiar5j6bYZP9AYWjdM0xXKKHuw="; 20 fetchSubmodules = true; 21 }; 22 23 nativeBuildInputs = [ cmake ]; 24 25 buildInputs = [ 26 geoflow 27 LAStools 28 nlohmann_json 29 ]; 30 31 installPhase = '' 32 install -Dm644 gfp_las.so -t $out/lib/geoflow-plugins 33 ''; 34 35 meta = { 36 description = "LAS reader and writer for geoflow"; 37 homepage = "https://github.com/geoflow3d/gfp-las"; 38 license = lib.licenses.gpl3Plus; 39 maintainers = [ lib.maintainers.sikmir ]; 40 skip.ci = true; 41 }; 42 })
