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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
735 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
2018-08-21 21:11:44 +00:00
2020-11-10 00:59:03 +00:00
stdenv.mkDerivation rec {
pname = "LAStools";
2022-11-30 16:12:29 +00:00
version = "2.0.2";
2018-08-21 21:11:44 +00:00
src = fetchFromGitHub {
owner = "LAStools";
repo = "LAStools";
2022-01-27 02:56:15 +00:00
rev = "v${version}";
2022-11-30 16:12:29 +00:00
sha256 = "sha256-HL64koe0GNzJzyA0QP4I0M1y2HSxigsZTqOw67RCwNc=";
2018-08-21 21:11:44 +00: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 21:11:44 +00:00
meta = with lib; {
2020-11-10 00:59:03 +00:00
description = "Software for rapid LiDAR processing";
homepage = "http://lastools.org/";
2020-11-10 00:59:03 +00:00
license = licenses.unfree;
maintainers = with maintainers; [ stephenwithph ];
platforms = platforms.unix;
2018-08-21 21:11:44 +00:00
};
}