depot/third_party/nixpkgs/pkgs/development/python-modules/pykdtree/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

24 lines
624 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, numpy, nose, openmp }:
buildPythonPackage rec {
pname = "pykdtree";
version = "1.3.4";
src = fetchPypi {
inherit pname version;
sha256 = "bebe5c608129f2997e88510c00010b9a78581b394924c0e3ecd131d52415165d";
};
buildInputs = [ openmp ];
propagatedBuildInputs = [ numpy ];
checkInputs = [ nose ];
meta = with stdenv.lib; {
description = "kd-tree implementation for fast nearest neighbour search in Python";
homepage = "https://github.com/storpipfugl/pykdtree";
license = licenses.lgpl3;
maintainers = with maintainers; [ psyanticy ];
};
}