mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
0866700e3b
We have to keep the old one because libLAS does not support LASzip 3, see https://github.com/libLAS/libLAS/issues/144.
26 lines
599 B
Nix
26 lines
599 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "3.4.3";
|
|
pname = "LASzip";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LASzip";
|
|
repo = "LASzip";
|
|
rev = version;
|
|
sha256 = "09lcsgxwv0jq50fhsgfhx0npbf1zcwn3hbnq6q78fshqksbxmz7m";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
meta = {
|
|
description = "Turn quickly bulky LAS files into compact LAZ files without information loss";
|
|
homepage = "https://laszip.org";
|
|
license = stdenv.lib.licenses.lgpl2;
|
|
maintainers = [ stdenv.lib.maintainers.michelk ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|