python3Packages.fpsample: init at 1.0.2 (#522339)
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
})
|
||||
@@ -5964,6 +5964,8 @@ self: super: with self; {
|
||||
|
||||
fpdf2 = callPackage ../development/python-modules/fpdf2 { };
|
||||
|
||||
fpsample = callPackage ../development/python-modules/fpsample { };
|
||||
|
||||
fpylll = callPackage ../development/python-modules/fpylll { };
|
||||
|
||||
fpyutils = callPackage ../development/python-modules/fpyutils { };
|
||||
|
||||
Reference in New Issue
Block a user