about summary refs log tree commit diff
path: root/pkgs/development/python-modules/annoy
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2019-05-25 14:56:14 +0200
committerTimo Kaufmann <timokau@zoho.com>2019-05-25 14:56:14 +0200
commit3342953dff1c713b88dc1697f0c01bff776ba3d6 (patch)
tree08e009a715341303befc9ac58b4888ea8e1ca48e /pkgs/development/python-modules/annoy
parent9aa60e6b9b58e7a7318b8972e4066ccc36d1ec41 (diff)
python.pkgs.annoy: init at 1.15.2
Diffstat (limited to 'pkgs/development/python-modules/annoy')
-rw-r--r--pkgs/development/python-modules/annoy/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/annoy/default.nix b/pkgs/development/python-modules/annoy/default.nix
new file mode 100644
index 0000000000000..ce7d9940bf2f9
--- /dev/null
+++ b/pkgs/development/python-modules/annoy/default.nix
@@ -0,0 +1,26 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, nose
+}:
+
+buildPythonPackage rec {
+  version = "1.15.2";
+  pname = "annoy";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1i5bkf8mwd1pyrbhfwncir2r8yq8s9qz5j13vv2qz92n9g57sr3m";
+  };
+
+  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 ];
+  };
+}