nixpkgs/pkgs/development/libraries/LAStools/default.nix

34 lines
902 B
Nix
Raw Normal View History

2020-11-10 00:59:03 +00:00
{ stdenv, fetchFromGitHub, cmake }:
2018-08-21 22:11:44 +01:00
2020-11-10 00:59:03 +00:00
stdenv.mkDerivation rec {
pname = "LAStools";
version = "201003"; # LAStools makes release-ish commits with a message containing their version number as YYMMDD; these align with their website changelog
2018-08-21 22:11:44 +01:00
src = fetchFromGitHub {
owner = "LAStools";
repo = "LAStools";
2020-11-10 00:59:03 +00:00
rev = "635b76b42cc4912762da31b92f875df5310e1714";
sha256 = "0682ca3bp51lmfp46vsjnd1bqpn05g95pf4kclvjv1y8qivkxsaq";
2018-08-21 22:11:44 +01:00
};
2020-11-10 00:59:03 +00: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 22:11:44 +01:00
2020-11-10 00:59:03 +00:00
meta = with stdenv.lib; {
description = "Software for rapid LiDAR processing";
homepage = http://lastools.org/;
license = licenses.unfree;
maintainers = with maintainers; [ stephenwithph ];
platforms = platforms.unix;
2018-08-21 22:11:44 +01:00
};
}