Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / laspy / default.nix
blob5375ed6f9ebef1c4bdf58ba2e507e3561332ecd7
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , numpy
5 , laszip
6 , setuptools
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "laspy";
13   version = "2.5.3";
14   format = "pyproject";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-StaYkUNY6loJbaUuabzszTINnd+zZ0gKXCteCG24Erc=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     numpy
29     laszip
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [
37     "laspy"
38     "laszip"
39   ];
41   meta = with lib; {
42     description = "Interface for reading/modifying/creating .LAS LIDAR files";
43     mainProgram = "laspy";
44     homepage = "https://github.com/laspy/laspy";
45     changelog = "https://github.com/laspy/laspy/blob/${version}/CHANGELOG.md";
46     license = licenses.bsd2;
47     maintainers = with maintainers; [ matthewcroughan ];
48   };