2021-02-05 17:12:51 +00:00
{ lib , stdenv , fetchFromGitHub , cmake }:
2020-11-24 20:58:05 +00:00
stdenv . mkDerivation rec {
pname = " L A S t o o l s " ;
version = " 2 0 1 0 0 3 " ; # LAStools makes release-ish commits with a message containing their version number as YYMMDD; these align with their website changelog
src = fetchFromGitHub {
owner = " L A S t o o l s " ;
repo = " L A S t o o l s " ;
rev = " 6 3 5 b 7 6 b 4 2 c c 4 9 1 2 7 6 2 d a 3 1 b 9 2 f 8 7 5 d f 5 3 1 0 e 1 7 1 4 " ;
sha256 = " 0 6 8 2 c a 3 b p 5 1 l m f p 4 6 v s j n d 1 b q p n 0 5 g 9 5 p f 4 k c l v j v 1 y 8 q i v k x s a q " ;
} ;
patches = [
./drop-64-suffix.patch # necessary to prevent '64' from being appended to the names of the executables
] ;
hardeningDisable = [
" f o r m a t "
] ;
nativeBuildInputs = [
cmake
] ;
2021-02-05 17:12:51 +00:00
meta = with lib ; {
2020-11-24 20:58:05 +00:00
description = " S o f t w a r e f o r r a p i d L i D A R p r o c e s s i n g " ;
homepage = http://lastools.org/ ;
license = licenses . unfree ;
maintainers = with maintainers ; [ stephenwithph ] ;
platforms = platforms . unix ;
} ;
}