blob: 97841a6a62d89476cd4b484f028183a6d2796538 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib
, buildPythonPackage
, fetchPypi
, h5py
, nose
, pythonOlder
}:
buildPythonPackage rec {
pname = "annoy";
version = "1.17.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-vxd9vq+4H2OyrB4SRrHyairMguc7pGY4c00p2CWBIto=";
};
nativeBuildInputs = [
h5py
];
checkInputs = [
nose
];
pythonImportsCheck = [
"annoy"
];
meta = with 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 ];
};
}
|