2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2018-08-21 23:11:44 +02:00
|
|
|
|
2020-11-10 01:59:03 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "LAStools";
|
2022-03-23 01:46:27 +01:00
|
|
|
version = "2.0.1";
|
2018-08-21 23:11:44 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LAStools";
|
|
|
|
repo = "LAStools";
|
2022-01-27 03:56:15 +01:00
|
|
|
rev = "v${version}";
|
2022-03-23 01:46:27 +01:00
|
|
|
sha256 = "sha256-Mxic/zLk/qkB/rSlvkLZPgtNscrTrzSzrxiqXAMeDVU=";
|
2018-08-21 23:11:44 +02:00
|
|
|
};
|
|
|
|
|
2020-11-10 01:59:03 +01:00
|
|
|
patches = [
|
|
|
|
./drop-64-suffix.patch # necessary to prevent '64' from being appended to the names of the executables
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [
|
|
|
|
"format"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
2018-08-21 23:11:44 +02:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-11-10 01:59:03 +01:00
|
|
|
description = "Software for rapid LiDAR processing";
|
2021-11-10 11:37:56 +01:00
|
|
|
homepage = "http://lastools.org/";
|
2020-11-10 01:59:03 +01:00
|
|
|
license = licenses.unfree;
|
|
|
|
maintainers = with maintainers; [ stephenwithph ];
|
|
|
|
platforms = platforms.unix;
|
2018-08-21 23:11:44 +02:00
|
|
|
};
|
|
|
|
}
|