LAStools: modernize

This commit is contained in:
Nikolay Korotkiy
2025-10-26 12:10:27 +04:00
parent f1539eb8c0
commit b0e92dd067

View File

@@ -5,15 +5,15 @@
cmake, cmake,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "LAStools"; pname = "LAStools";
version = "2.0.4"; version = "2.0.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "LAStools"; owner = "LAStools";
repo = "LAStools"; repo = "LAStools";
rev = "v${version}"; tag = "v${finalAttrs.version}";
sha256 = "sha256-ow7zcvkenJ2j+tj2TxuEtK0dQEwzUtJ9f0wzt5/qimM="; hash = "sha256-ow7zcvkenJ2j+tj2TxuEtK0dQEwzUtJ9f0wzt5/qimM=";
}; };
patches = [ patches = [
@@ -30,12 +30,12 @@ stdenv.mkDerivation rec {
cmake cmake
]; ];
meta = with lib; { meta = {
description = "Software for rapid LiDAR processing"; description = "Software for rapid LiDAR processing";
homepage = "http://lastools.org/"; homepage = "http://lastools.org/";
license = licenses.unfree; license = lib.licenses.unfree;
maintainers = with maintainers; [ stephenwithph ]; maintainers = with lib.maintainers; [ stephenwithph ];
teams = [ teams.geospatial ]; teams = [ lib.teams.geospatial ];
platforms = platforms.unix; platforms = lib.platforms.unix;
}; };
} })