nixpkgs/pkgs/development/python-modules/annoy/default.nix

27 lines
557 B
Nix
Raw Normal View History

2019-05-25 13:56:14 +01:00
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
version = "1.16.0";
2019-05-25 13:56:14 +01:00
pname = "annoy";
src = fetchPypi {
inherit pname version;
sha256 = "0jnm38kg7aw63mkd5113i3pb2p9fp5cia91jwhyg9sazb45bzpv9";
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 ];
};
}