Commit 22ba0262 authored by matthewcroughan's avatar matthewcroughan
Browse files

laszip: init at 0.2.1



Co-authored-by: default avatarSandro <sandro.jaeckel@gmail.com>
parent da4f17a2
Loading
Loading
Loading
Loading
+58 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, scikit-build-core
, distlib
, pytestCheckHook
, pyproject-metadata
, pathspec
, pybind11
, cmake
, LASzip
}:

buildPythonPackage rec {
  pname = "laszip-python";
  version = "0.2.1";

  format = "pyproject";

  src = fetchFromGitHub {
    owner = "tmontaigu";
    repo = pname;
    rev = version;
    sha256 = "sha256-ujKoUm2Btu25T7ZrSGqjRc3NR1qqsQU8OwHQDSx8grY=";
  };

  nativeBuildInputs = [
    scikit-build-core
    scikit-build-core.optional-dependencies.pyproject
    cmake
  ];

  buildInputs = [
    pybind11
    LASzip
  ];

  checkInputs = [
    pytestCheckHook
  ];

  preBuild = ''
    cd ..
  '';

  # There are no tests
  doCheck = false;

  pythonImportsCheck = [ "laszip" ];

  meta = with lib; {
    description = "Unofficial bindings between Python and LASzip made using pybind11";
    homepage = "https://github.com/tmontaigu/laszip-python";
    license = licenses.mit;
    maintainers = with maintainers; [ matthewcroughan ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -5311,6 +5311,8 @@ self: super: with self; {

  laspy = callPackage ../development/python-modules/laspy { };

  laszip = callPackage ../development/python-modules/laszip { };

  latexcodec = callPackage ../development/python-modules/latexcodec { };

  latexify-py = callPackage ../development/python-modules/latexify-py { };