3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/annoy/default.nix

30 lines
609 B
Nix
Raw Normal View History

2019-05-25 13:56:14 +01:00
{ stdenv
, buildPythonPackage
, fetchPypi
, h5py
2019-05-25 13:56:14 +01:00
, nose
}:
buildPythonPackage rec {
2019-12-29 09:28:05 +00:00
version = "1.16.3";
2019-05-25 13:56:14 +01:00
pname = "annoy";
src = fetchPypi {
inherit pname version;
2019-12-29 09:28:05 +00:00
sha256 = "fe2779664bd8846f2d67191a7e6010b8df890ac4586336748fd0697f31654379";
2019-05-25 13:56:14 +01:00
};
nativeBuildInputs = [ h5py ];
2019-05-25 13:56:14 +01:00
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 ];
};
}