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