2023-03-27 19:17:25 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
, laszip
|
|
|
|
, pytestCheckHook
|
2023-05-24 13:37:59 +00:00
|
|
|
, pythonOlder
|
2023-03-27 19:17:25 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "laspy";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "2.4.1";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2023-03-27 19:17:25 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-E8rsxzJcsiQsslOUmE0hs7X3lsiLy0S8LtLTzxuXKsQ=";
|
2023-03-27 19:17:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
laszip
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"laspy"
|
|
|
|
"laszip"
|
|
|
|
];
|
2023-03-27 19:17:25 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Interface for reading/modifying/creating .LAS LIDAR files";
|
|
|
|
homepage = "https://github.com/laspy/laspy";
|
2023-05-24 13:37:59 +00:00
|
|
|
changelog = "https://github.com/laspy/laspy/blob/2.4.1/CHANGELOG.md";
|
2023-03-27 19:17:25 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ matthewcroughan ];
|
|
|
|
};
|
|
|
|
}
|