python3Packages.pykdtree: 1.3.7.post0 -> 1.3.10
This commit is contained in:
@@ -1,25 +1,51 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, numpy, pytestCheckHook, openmp }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, numpy
|
||||
, setuptools
|
||||
|
||||
# native dependencies
|
||||
, openmp
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pykdtree";
|
||||
version = "1.3.7.post0";
|
||||
format = "setuptools";
|
||||
version = "1.3.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-7KHWHTPbYh74An62ka6I25xl0ZarpLLMkMGQy5C7UI4=";
|
||||
hash = "sha256-QefF1mnK3CGIrMS7tLC03K9JLYRRLx5lF6erLRIskR0=";
|
||||
};
|
||||
|
||||
buildInputs = [ openmp ];
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
numpy
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
buildInputs = [
|
||||
openmp
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# make sure we don't import pykdtree from the source tree
|
||||
mv pykdtree tests
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "kd-tree implementation for fast nearest neighbour search in Python";
|
||||
|
||||
Reference in New Issue
Block a user