1{ lib, buildPythonPackage, fetchPypi, numpy, nose, openmp }:
2
3buildPythonPackage rec {
4 pname = "pykdtree";
5 version = "1.3.4";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "bebe5c608129f2997e88510c00010b9a78581b394924c0e3ecd131d52415165d";
10 };
11
12 buildInputs = [ openmp ];
13
14 propagatedBuildInputs = [ numpy ];
15
16 checkInputs = [ nose ];
17
18 meta = with lib; {
19 description = "kd-tree implementation for fast nearest neighbour search in Python";
20 homepage = "https://github.com/storpipfugl/pykdtree";
21 license = licenses.lgpl3;
22 maintainers = with maintainers; [ psyanticy ];
23 };
24}