1{ stdenv, buildPythonPackage, fetchPypi, numpy, nose, openmp }: 2 3buildPythonPackage rec { 4 pname = "pykdtree"; 5 version = "1.3.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0d49d3bbfa0366dbe29176754ec86df75114a25525b530dcbbb75d3ac4c263e9"; 10 }; 11 12 buildInputs = [ openmp ]; 13 14 propagatedBuildInputs = [ numpy ]; 15 16 checkInputs = [ nose ]; 17 18 meta = with stdenv.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}