at 25.11-pre 899 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 numpy, 6 laszip, 7 setuptools, 8 pytestCheckHook, 9 pythonOlder, 10}: 11 12buildPythonPackage rec { 13 pname = "laspy"; 14 version = "2.5.4"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-7r2/M3mvvAsk5+SBL6xWe/+IDR6FH3AXXSI3Wq7N9+E="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ 27 numpy 28 laszip 29 ]; 30 31 nativeCheckInputs = [ pytestCheckHook ]; 32 33 pythonImportsCheck = [ 34 "laspy" 35 "laszip" 36 ]; 37 38 meta = with lib; { 39 description = "Interface for reading/modifying/creating .LAS LIDAR files"; 40 mainProgram = "laspy"; 41 homepage = "https://github.com/laspy/laspy"; 42 changelog = "https://github.com/laspy/laspy/blob/${version}/CHANGELOG.md"; 43 license = licenses.bsd2; 44 maintainers = with maintainers; [ matthewcroughan ]; 45 }; 46}