Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 806 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5, laszip 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "laspy"; 12 version = "2.4.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-E8rsxzJcsiQsslOUmE0hs7X3lsiLy0S8LtLTzxuXKsQ="; 20 }; 21 22 propagatedBuildInputs = [ 23 numpy 24 laszip 25 ]; 26 27 checkInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ 32 "laspy" 33 "laszip" 34 ]; 35 36 meta = with lib; { 37 description = "Interface for reading/modifying/creating .LAS LIDAR files"; 38 homepage = "https://github.com/laspy/laspy"; 39 changelog = "https://github.com/laspy/laspy/blob/2.4.1/CHANGELOG.md"; 40 license = licenses.bsd2; 41 maintainers = with maintainers; [ matthewcroughan ]; 42 }; 43}