mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 02:14:08 +00:00
da4f17a2a6
Co-authored-by: Nick Cao <nickcao@nichi.co> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
36 lines
652 B
Nix
36 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 ];
|
|
};
|
|
}
|