depot/third_party/nixpkgs/pkgs/development/python-modules/laspy/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

48 lines
874 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, laszip
, setuptools
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "laspy";
version = "2.5.3";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-StaYkUNY6loJbaUuabzszTINnd+zZ0gKXCteCG24Erc=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
numpy
laszip
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"laspy"
"laszip"
];
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/${version}/CHANGELOG.md";
license = licenses.bsd2;
maintainers = with maintainers; [ matthewcroughan ];
};
}