depot/third_party/nixpkgs/pkgs/development/python-modules/laspy/default.nix
Default email eaf6957cd3 Project import generated by Copybara.
GitOrigin-RevId: 4bb072f0a8b267613c127684e099a70e1f6ff106
2023-03-27 12:17:25 -07:00

35 lines
652 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, laszip
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "laspy";
version = "2.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Wdbp6kjuZkJh+pp9OVczdsRNgn41/Tdt7nGFvewcQ1w=";
};
propagatedBuildInputs = [
numpy
laszip
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "laspy" "laszip" ];
meta = with lib; {
description = "Interface for reading/modifying/creating .LAS LIDAR files";
homepage = "https://github.com/laspy/laspy";
license = licenses.bsd2;
maintainers = with maintainers; [ matthewcroughan ];
};
}