package.nix (825B)
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 __structuredAttrs = true; 16 17 src = fetchFromGitHub { 18 owner = "geoflow3d"; 19 repo = "gfp-las"; 20 tag = "v${finalAttrs.version}"; 21 hash = "sha256-05seXLQm2TAFLRSN2Fiar5j6bYZP9AYWjdM0xXKKHuw="; 22 fetchSubmodules = true; 23 }; 24 25 nativeBuildInputs = [ cmake ]; 26 27 buildInputs = [ 28 geoflow 29 LAStools 30 nlohmann_json 31 ]; 32 33 installPhase = '' 34 install -Dm644 gfp_las.so -t $out/lib/geoflow-plugins 35 ''; 36 37 meta = { 38 description = "LAS reader and writer for geoflow"; 39 homepage = "https://github.com/geoflow3d/gfp-las"; 40 license = lib.licenses.gpl3Plus; 41 maintainers = [ lib.maintainers.sikmir ]; 42 skip.ci = true; 43 }; 44 })
