about summary refs log tree commit diff
path: root/pkgs/development/python-modules/annoy/default.nix
blob: e3d32e6a06944ef1e4360a401ca28ca7233bfa8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:

buildPythonPackage rec {
  version = "1.16.2";
  pname = "annoy";

  src = fetchPypi {
    inherit pname version;
    sha256 = "41348e813fe7125eda3e2229a075eba3d065173ba6c5f20c545bb9c2932633fa";
  };

  checkInputs = [
    nose
  ];

  meta = with stdenv.lib; {
    description = "Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk";
    homepage = https://github.com/spotify/annoy;
    license = licenses.asl20;
    maintainers = with maintainers; [ timokau ];
  };
}