2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2020-11-24 20:58:05 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "LAStools";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "2.0.1";
|
2020-11-24 20:58:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LAStools";
|
|
|
|
repo = "LAStools";
|
2022-02-10 20:34:41 +00:00
|
|
|
rev = "v${version}";
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-Mxic/zLk/qkB/rSlvkLZPgtNscrTrzSzrxiqXAMeDVU=";
|
2020-11-24 20:58:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./drop-64-suffix.patch # necessary to prevent '64' from being appended to the names of the executables
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [
|
|
|
|
"format"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-24 20:58:05 +00:00
|
|
|
description = "Software for rapid LiDAR processing";
|
2021-12-06 16:07:01 +00:00
|
|
|
homepage = "http://lastools.org/";
|
2020-11-24 20:58:05 +00:00
|
|
|
license = licenses.unfree;
|
|
|
|
maintainers = with maintainers; [ stephenwithph ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|