blob: e4d86733ab392c029b8ed63e8841b882a144a4c4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation rec {
pname = "LAStools";
version = "2.0.3";
src = fetchFromGitHub {
owner = "LAStools";
repo = "LAStools";
rev = "v${version}";
sha256 = "sha256-IyZjM8YvIVB0VPNuEhmHHw7EuKw5RanB2qhCnBD1fRY=";
};
patches = [
./drop-64-suffix.patch # necessary to prevent '64' from being appended to the names of the executables
];
hardeningDisable = [
"format"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isAarch64 "-Wno-narrowing";
nativeBuildInputs = [
cmake
];
meta = with lib; {
description = "Software for rapid LiDAR processing";
homepage = "http://lastools.org/";
license = licenses.unfree;
maintainers = with maintainers; teams.geospatial.members ++ [ stephenwithph ];
platforms = platforms.unix;
};
}
|