Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 33 lines 735 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "LAStools"; 5 version = "2.0.3"; 6 7 src = fetchFromGitHub { 8 owner = "LAStools"; 9 repo = "LAStools"; 10 rev = "v${version}"; 11 sha256 = "sha256-IyZjM8YvIVB0VPNuEhmHHw7EuKw5RanB2qhCnBD1fRY="; 12 }; 13 14 patches = [ 15 ./drop-64-suffix.patch # necessary to prevent '64' from being appended to the names of the executables 16 ]; 17 18 hardeningDisable = [ 19 "format" 20 ]; 21 22 nativeBuildInputs = [ 23 cmake 24 ]; 25 26 meta = with lib; { 27 description = "Software for rapid LiDAR processing"; 28 homepage = "http://lastools.org/"; 29 license = licenses.unfree; 30 maintainers = with maintainers; [ stephenwithph ]; 31 platforms = platforms.unix; 32 }; 33}