Merge pull request #212331 from MatthewCroughan/mc/laspy

laspy: init at 2.3.0

authored by Ilan Joselevich and committed by GitHub 612676d9 e1fa54a5

+97
+35
pkgs/development/python-modules/laspy/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , numpy 5 + , laszip 6 + , pytestCheckHook 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "laspy"; 11 + version = "2.3.0"; 12 + 13 + src = fetchPypi { 14 + inherit pname version; 15 + sha256 = "sha256-Wdbp6kjuZkJh+pp9OVczdsRNgn41/Tdt7nGFvewcQ1w="; 16 + }; 17 + 18 + propagatedBuildInputs = [ 19 + numpy 20 + laszip 21 + ]; 22 + 23 + checkInputs = [ 24 + pytestCheckHook 25 + ]; 26 + 27 + pythonImportsCheck = [ "laspy" "laszip" ]; 28 + 29 + meta = with lib; { 30 + description = "Interface for reading/modifying/creating .LAS LIDAR files"; 31 + homepage = "https://github.com/laspy/laspy"; 32 + license = licenses.bsd2; 33 + maintainers = with maintainers; [ matthewcroughan ]; 34 + }; 35 + }
+58
pkgs/development/python-modules/laszip/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , scikit-build-core 5 + , distlib 6 + , pytestCheckHook 7 + , pyproject-metadata 8 + , pathspec 9 + , pybind11 10 + , cmake 11 + , LASzip 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "laszip-python"; 16 + version = "0.2.1"; 17 + 18 + format = "pyproject"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "tmontaigu"; 22 + repo = pname; 23 + rev = version; 24 + sha256 = "sha256-ujKoUm2Btu25T7ZrSGqjRc3NR1qqsQU8OwHQDSx8grY="; 25 + }; 26 + 27 + nativeBuildInputs = [ 28 + scikit-build-core 29 + scikit-build-core.optional-dependencies.pyproject 30 + cmake 31 + ]; 32 + 33 + buildInputs = [ 34 + pybind11 35 + LASzip 36 + ]; 37 + 38 + checkInputs = [ 39 + pytestCheckHook 40 + ]; 41 + 42 + preBuild = '' 43 + cd .. 44 + ''; 45 + 46 + # There are no tests 47 + doCheck = false; 48 + 49 + pythonImportsCheck = [ "laszip" ]; 50 + 51 + meta = with lib; { 52 + description = "Unofficial bindings between Python and LASzip made using pybind11"; 53 + homepage = "https://github.com/tmontaigu/laszip-python"; 54 + license = licenses.mit; 55 + maintainers = with maintainers; [ matthewcroughan ]; 56 + }; 57 + } 58 +
+4
pkgs/top-level/python-packages.nix
··· 5309 5309 5310 5310 larynx-train = callPackage ../development/python-modules/larynx-train { }; 5311 5311 5312 + laspy = callPackage ../development/python-modules/laspy { }; 5313 + 5314 + laszip = callPackage ../development/python-modules/laszip { }; 5315 + 5312 5316 latexcodec = callPackage ../development/python-modules/latexcodec { }; 5313 5317 5314 5318 latexify-py = callPackage ../development/python-modules/latexify-py { };