python3Packages.pykdtree: 1.3.4 -> 1.3.5

This commit is contained in:
Martin Weinelt 2022-07-16 12:59:27 +02:00
parent 5a5ff89ef2
commit 0b65877af9

View File

@ -1,19 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, numpy, nose, openmp }:
{ lib, buildPythonPackage, fetchPypi, numpy, pytestCheckHook, openmp }:
buildPythonPackage rec {
pname = "pykdtree";
version = "1.3.4";
version = "1.3.5";
src = fetchPypi {
inherit pname version;
sha256 = "bebe5c608129f2997e88510c00010b9a78581b394924c0e3ecd131d52415165d";
sha256 = "sha256-c0L3XnMRA+ZT/B9rn9q8JBDPkrbnsGFggEp1eGybV0c=";
};
buildInputs = [ openmp ];
propagatedBuildInputs = [ numpy ];
checkInputs = [ nose ];
preCheck = ''
# make sure we don't import pykdtree from the source tree
mv pykdtree tests
'';
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "kd-tree implementation for fast nearest neighbour search in Python";