LAStools: modernize
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user