Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchPypi, cmake, ninja, pybind11, scikit-build-core, numpy,}:
buildPythonPackage (finalAttrs: { pname = "fpsample"; version = "1.0.2"; pyproject = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-XiX5fANBLSQ3Z/ueR/e21sc2x84enVGRiJTj/TJ3SfI="; };
dontUseCmakeConfigure = true;
build-system = [ cmake ninja pybind11 scikit-build-core ];
dependencies = [ numpy ];
pythonImportsCheck = [ "fpsample" ];
meta = { description = "Efficient CPU farthest-point sampling for point clouds"; homepage = "https://github.com/leonardodalinky/fpsample"; changelog = "https://github.com/leonardodalinky/fpsample/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ BatteredBunny ]; };})