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