python310Packages.laspy: refactor
- add setuptools to nativeBuildInputs - replace checkInputs with nativeCheckInputs - fix the changelog url
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user