Unverified Commit 4adcaa61 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python310Packages.laspy: add changelog to meta

- add format
- disable on unsupported Python releases
parent ad091aec
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -4,15 +4,19 @@
, numpy
, laszip
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "laspy";
  version = "2.4.1";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-E8rsxzJcsiQsslOUmE0hs7X3lsiLy0S8LtLTzxuXKsQ=";
    hash = "sha256-E8rsxzJcsiQsslOUmE0hs7X3lsiLy0S8LtLTzxuXKsQ=";
  };

  propagatedBuildInputs = [
@@ -24,11 +28,15 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  pythonImportsCheck = [ "laspy" "laszip" ];
  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 ];
  };