python310Packages.laspy: add changelog to meta

- add format
- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-05-08 13:18:38 +02:00 committed by GitHub
parent ad091aec72
commit 4adcaa61cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,15 +4,19 @@
, numpy
, laszip
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "laspy";
version = "2.4.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-E8rsxzJcsiQsslOUmE0hs7X3lsiLy0S8LtLTzxuXKsQ=";
hash = "sha256-E8rsxzJcsiQsslOUmE0hs7X3lsiLy0S8LtLTzxuXKsQ=";
};
propagatedBuildInputs = [
@ -24,11 +28,15 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "laspy" "laszip" ];
pythonImportsCheck = [
"laspy"
"laszip"
];
meta = with lib; {
description = "Interface for reading/modifying/creating .LAS LIDAR files";
homepage = "https://github.com/laspy/laspy";
changelog = "https://github.com/laspy/laspy/blob/2.4.1/CHANGELOG.md";
license = licenses.bsd2;
maintainers = with maintainers; [ matthewcroughan ];
};