python310Packages.laspy: refactor

- add setuptools to nativeBuildInputs
- replace checkInputs with nativeCheckInputs
- fix the changelog url
This commit is contained in:
natsukium
2023-08-06 23:03:37 +09:00
parent 20a9422c03
commit 0c5c1df184
@@ -3,6 +3,7 @@
, fetchPypi
, numpy
, laszip
, setuptools
, pytestCheckHook
, pythonOlder
}:
@@ -10,7 +11,7 @@
buildPythonPackage rec {
pname = "laspy";
version = "2.4.1";
format = "setuptools";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -19,12 +20,16 @@ buildPythonPackage rec {
hash = "sha256-E8rsxzJcsiQsslOUmE0hs7X3lsiLy0S8LtLTzxuXKsQ=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
numpy
laszip
];
checkInputs = [
nativeCheckInputs = [
pytestCheckHook
];
@@ -36,7 +41,7 @@ buildPythonPackage rec {
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";
changelog = "https://github.com/laspy/laspy/blob/${version}/CHANGELOG.md";
license = licenses.bsd2;
maintainers = with maintainers; [ matthewcroughan ];
};