2023-08-03 13:41:48 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
cmake,
|
|
|
|
fixDarwinDylibNames,
|
|
|
|
}:
|
2014-09-17 13:14:17 +00:00
|
|
|
|
2023-08-03 13:41:48 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-06-25 18:54:27 +00:00
|
|
|
version = "3.4.3";
|
2024-06-12 06:01:50 +00:00
|
|
|
pname = "laszip";
|
2014-09-17 13:14:17 +00:00
|
|
|
|
2020-06-25 18:54:27 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LASzip";
|
|
|
|
repo = "LASzip";
|
2023-08-03 13:41:48 +00:00
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-9fzal54YaocONtguOCxnP7h1LejQPQ0dKFiCzfvTjCY=";
|
2014-09-17 13:14:17 +00:00
|
|
|
};
|
2018-09-01 22:00:40 +00:00
|
|
|
|
2020-06-25 18:54:27 +00:00
|
|
|
nativeBuildInputs =
|
|
|
|
[
|
|
|
|
cmake
|
2023-08-03 13:35:36 +00:00
|
|
|
]
|
|
|
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
|
|
fixDarwinDylibNames
|
2020-06-25 18:54:27 +00:00
|
|
|
];
|
2014-09-17 13:14:17 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Turn quickly bulky LAS files into compact LAZ files without information loss";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://laszip.org";
|
2023-08-03 13:41:48 +00:00
|
|
|
changelog = "https://github.com/LASzip/LASzip/releases/tag/${finalAttrs.src.rev}";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.lgpl2;
|
|
|
|
maintainers = [ lib.maintainers.michelk ];
|
|
|
|
platforms = lib.platforms.unix;
|
2014-09-17 13:14:17 +00:00
|
|
|
};
|
2023-08-03 13:41:48 +00:00
|
|
|
})
|