f13ae2b20b
Diff: https://github.com/tmontaigu/laszip-python/compare/0.2.3...0.3.0 Changelog: https://github.com/tmontaigu/laszip-python/blob/0.3.0/Changelog.md
52 lines
1019 B
Nix
52 lines
1019 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
scikit-build-core,
|
|
pybind11,
|
|
cmake,
|
|
ninja,
|
|
|
|
# buildInputs
|
|
laszip,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "laszip-python";
|
|
version = "0.3.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tmontaigu";
|
|
repo = "laszip-python";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-fg9Joe5iDNT4w2j+zQuQIoxyAYpCAgLwhuqsBsJn6lU=";
|
|
};
|
|
|
|
build-system = [
|
|
cmake
|
|
ninja
|
|
pybind11
|
|
scikit-build-core
|
|
];
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
buildInputs = [ laszip ];
|
|
|
|
# There are no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "laszip" ];
|
|
|
|
meta = {
|
|
description = "Unofficial bindings between Python and LASzip made using pybind11";
|
|
homepage = "https://github.com/tmontaigu/laszip-python";
|
|
changelog = "https://github.com/tmontaigu/laszip-python/blob/${finalAttrs.src.tag}/Changelog.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ matthewcroughan ];
|
|
};
|
|
})
|