diff --git a/pkgs/development/python-modules/laspy/default.nix b/pkgs/development/python-modules/laspy/default.nix new file mode 100644 index 000000000000..2907e61b9d8c --- /dev/null +++ b/pkgs/development/python-modules/laspy/default.nix @@ -0,0 +1,35 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4e7f2e055eed..da74232300df 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5309,6 +5309,8 @@ self: super: with self; { larynx-train = callPackage ../development/python-modules/larynx-train { }; + laspy = callPackage ../development/python-modules/laspy { }; + latexcodec = callPackage ../development/python-modules/latexcodec { }; latexify-py = callPackage ../development/python-modules/latexify-py { };