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