nixpkgs/pkgs/development/python-modules/laspy/default.nix
Fabian Affolter 4adcaa61cb
python310Packages.laspy: add changelog to meta
- add format
- disable on unsupported Python releases
2023-05-08 13:18:38 +02:00

44 lines
806 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, laszip
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "laspy";
version = "2.4.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-E8rsxzJcsiQsslOUmE0hs7X3lsiLy0S8LtLTzxuXKsQ=";
};
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";
changelog = "https://github.com/laspy/laspy/blob/2.4.1/CHANGELOG.md";
license = licenses.bsd2;
maintainers = with maintainers; [ matthewcroughan ];
};
}