1{ lib
2, buildPythonPackage
3, fetchPypi
4, h5py
5, nose
6}:
7
8buildPythonPackage rec {
9 version = "1.17.0";
10 pname = "annoy";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "9891e264041d1dcf3af42f67fbb16cb273c5404bc8c869d0915a3087f71d58dd";
15 };
16
17 nativeBuildInputs = [ h5py ];
18
19 checkInputs = [
20 nose
21 ];
22
23 meta = with lib; {
24 description = "Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk";
25 homepage = "https://github.com/spotify/annoy";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ timokau ];
28 };
29}