2018-06-05 23:50:28 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, numpy, nose, openmp }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pykdtree";
|
2018-07-22 11:17:44 +01:00
|
|
|
version = "1.3.1";
|
2018-06-05 23:50:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:17:44 +01:00
|
|
|
sha256 = "0d49d3bbfa0366dbe29176754ec86df75114a25525b530dcbbb75d3ac4c263e9";
|
2018-06-05 23:50:28 +01: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 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 ];
|
|
|
|
};
|
|
|
|
}
|