python.pkgs.annoy: init at 1.15.2
commit3342953dff1c713b88dc1697f0c01bff776ba3d6
authorTimo Kaufmann <timokau@zoho.com>
dateSat 25 May 2019, 14:56 (7 years ago)
parent9aa60e6
pkgs/development/python-modules/annoy/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv
2+, buildPythonPackage
3+, fetchPypi
4+, nose
5+}:
6+
7+buildPythonPackage 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+}
pkgs/top-level/python-packages.nix+2
@@ -5274,6 +5274,8 @@ in {
52745274
52755275 sigtools = callPackage ../development/python-modules/sigtools { };
52765276
5277+ annoy = callPackage ../development/python-modules/annoy { };
5278+
52775279 clize = callPackage ../development/python-modules/clize { };
52785280
52795281 zerobin = callPackage ../development/python-modules/zerobin { };