2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, numpy, nose, openmp }:
|
2018-06-05 23:50:28 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pykdtree";
|
2020-11-29 14:04:37 +00:00
|
|
|
version = "1.3.4";
|
2018-06-05 23:50:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:37 +00:00
|
|
|
sha256 = "bebe5c608129f2997e88510c00010b9a78581b394924c0e3ecd131d52415165d";
|
2018-06-05 23:50:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openmp ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-05 23:50:28 +01:00
|
|
|
description = "kd-tree implementation for fast nearest neighbour search in Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/storpipfugl/pykdtree";
|
2018-06-05 23:50:28 +01:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
}
|